> 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/pdia-data-integration/9.3-data-integration/advanced-topics-pentaho-data-integration-overview/work-with-the-streamlined-data-refinery/use-the-streamlined-data-refinery/building-blocks-for-the-sdr/use-the-build-model-job-entry-for-sdr/create-a-build-model-job-entry.md).

# Create a Build Model job entry

This task assumes you are in the job canvas of the PDI client.

Use the Build Model job entry to create a model for publishing directly to the Pentaho Server.

1. In the **Design** tab, click the **Modeling** folder, and then double-click the Build Model job entry. Alternatively, you can drag the job entry icon on to the job canvas.

   ![Build Model job entry](https://3411831820-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAYwCj9fPr1B2pjC11IOQ%2Fuploads%2Fgit-blob-2ec6dbaf8190ea3ba44e39b32965cc32f9e95667%2FBuildModelIcon2.png?alt=media)
2. Double-click the **Build Model** icon to open the Build Model dialog box.
3. Enter a name for the entry in the **Entry name** field.

   **Note:** The following characters are not valid in Data Source Wizard source names:

   ```
   % ? : [] * \t \r \n
   ```
4. In the **Source** field, select an output step or a Pentaho Data Service from the drop-down menu, or press CTRL Space to select a variable.

   The selected output step or data service provides the source data in the model. If no data is written to the table by the selected source, then the Build Model job entry will not build a model.

   **Note:** When you select a Pentaho Data Service as the source, previously defined link dimensions will not be linked to your model. Link dimension annotations are dependent on shared dimensions, and shared dimensions cannot use a data service for their source. See [Pentaho Data Services](https://docs.pentaho.com/pdia-data-integration/9.3-data-integration/advanced-topics-pentaho-data-integration-overview/pentaho-data-services.md) for more information about data services.
5. Enter a name for your data model in the**Model Name** field. Optionally, click in the field and press CTRL Space to select a variable.

   The model name entered here will appear in the list of data sources in the Pentaho Server.
6. In the **Modeling Method** section, you can select the modeling method for the entry.
   * **Auto Model** if you want to build a new model. When you choose to auto model, your annotations will be applied to the model when it is opened in Analyzer.
   * **Use Existing** if you want to base your model on one which already exists in the Pentaho Server. Click the **Select** button below to enter the name of an existing model from the server in the required field. See [Select existing model options](https://docs.pentaho.com/pdia-data-integration/9.3-data-integration/advanced-topics-pentaho-data-integration-overview/work-with-the-streamlined-data-refinery/use-the-streamlined-data-refinery/building-blocks-for-the-sdr/use-the-build-model-job-entry-for-sdr/select-existing-model-options.md). When you use an existing model, your annotations will not be applied to the model when it is opened in Analyzer.**Note:** When you select **Auto Model** and you have modified a measure in Analyzer, the inline model editing changes you made in Analyzer will take priority over any annotations added to the measure in PDI. In addition, annotations you add in PDI will not be visible for that measure when viewed in Analyzer.
7. Click **OK** to save your changes and close the dialog box, or click **Cancel** to discard your changes and close the dialog box.


---

# 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/pdia-data-integration/9.3-data-integration/advanced-topics-pentaho-data-integration-overview/work-with-the-streamlined-data-refinery/use-the-streamlined-data-refinery/building-blocks-for-the-sdr/use-the-build-model-job-entry-for-sdr/create-a-build-model-job-entry.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.
