# Connect to a Pentaho Repository

After a repository is created, a menu appears next to the Connect link. You can use this menu to connect to the repository.

1. Select a repository in the **Connect** menu.

   **Note:** If you are in the process of creating your first repository, select the repository after creating it, and then click Connect in the Repository Manager dialog box.
2. Log on to the repository by entering your **User Name** and **Password** credentials. For example, **User Name** = `admin`, **Password** = `password`.
3. Click **Login**.

   **Note:** If the connection fails, ensure that the port number and URL are correct.

   Your username and repository display name appears in the top right corner of the PDI client toolbar.

   **Note:** To make the Repository Connection window appear automatically when the PDI client starts, go to **Tools** > **Options** and click **Show repository dialog at startup**.


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.pentaho.com/pdia-data-integration/10.2-data-integration/use-a-pentaho-repository-in-pdi/connect-to-a-pentaho-repository.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
