> For the complete documentation index, see [llms.txt](https://docs.pentaho.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pentaho.com/pba/semantic-model-editor/import-a-semantic-model.md).

# Import a semantic model

You can import an existing data source that you published in the **Pentaho Server** as a semantic model. Data sources imported as semantic models are no longer available in the **Pentaho User Console**. &#x20;

{% hint style="danger" %}
**Cautions:** &#x20;

* If an Analysis Data Source with the same name as a Semantic Model is imported using the Pentaho User Console, the content of the Analysis Data Source completely overwrites the content in the Semantic Model, which cannot be restored.&#x20;
* If you change the structure or name of the semantic model, you must also update related reports, or the reports will no longer work. &#x20;
  {% endhint %}

Complete the following steps to create a basic semantic model:&#x20;

1. Log into the **Pentaho User Console** (PUC). &#x20;
2. Open the Semantic Model Editor by taking one of the following actions:

   * If you are using the Modern Design of PUC, in the menu on the left side of the page, click **Semantic Model Editor**.
   * If you are using the Classic Design of PUC, click **File** > **Semantic Model Editor**.&#x20;

   The **Semantic Model Editor** opens.&#x20;
3. Click **Import**. The **Please Select Data Source** window opens.&#x20;
4. Navigate to the data source that you want to import by searching or scrolling through the list.&#x20;
5. Click **Import**. The data source is imported as a semantic model with the same name and connection information, and the model is displayed on the canvas.&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.pentaho.com/pba/semantic-model-editor/import-a-semantic-model.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
