> For the complete documentation index, see [llms.txt](https://smabbler.gitbook.io/smabbler/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://smabbler.gitbook.io/smabbler/galaxia/build-graph-model-in-3-steps.md).

# Build graph model in 3 steps

Go to the [**Files**](/smabbler/smabbler-portal/files.md) page:

{% stepper %}
{% step %}
Upload file(s)

Click **Upload**, then upload TXT or CSV files. Other document formats can be converted with Unstructured IO in the upload window (see [Files](/smabbler/smabbler-portal/files.md)) or with the [document processing guides](/smabbler/galaxia/docs-processing-guides.md).
{% endstep %}

{% step %}
Analyze file(s)

Select the uploaded file(s), click on the **Analyze** button and configure the ID and text column(s).
{% endstep %}

{% step %}
Build graph model

Select the analyzed file(s), click on the <mark style="color:blue;">**Build graph model**</mark> button and name your model.
{% endstep %}
{% endstepper %}

<figure><img src="https://1257972295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq71OmwfarFz50vAJSgrj%2Fuploads%2FrRPYiYx5EidKdtCFuhCC%2Ffiles-toolbar-3-steps.png?alt=media" alt="Files toolbar with Upload, Analyze and Build graph model marked 1 to 3"><figcaption></figcaption></figure>

After you create the model, you are taken to the [**Models**](/smabbler/smabbler-portal/models.md) page. The model shows *Pending create* while it is being built and *Inactive* when it is ready. Then you can:

* Activate the model → Turn on the switch on the model tile and confirm in the **Activate model** dialog. Activation takes a few minutes.
* Ask your model → When the model is *Active*, click **Ask**. You are taken to [**Ask Galaxia**](/smabbler/smabbler-portal/ask-galaxia.md), where you can ask it questions.

You can also click **Build new model** on the Home page. It takes you through uploading and analyzing a file, creating the model and activating it, and then opens [Ask Galaxia](/smabbler/smabbler-portal/ask-galaxia.md) with the new model.
