> For the complete documentation index, see [llms.txt](https://docs.e6data.com/product-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.e6data.com/product-documentation/catalogs/create-catalogs/unity-catalog/connect-to-unity-catalog.md).

# Connect to Unity Catalog

1. Select your workspace and click the **Catalog** option in the sidebar to create a Unity Catalog.
2. Click **Create Catalog**
3. Provide a name to your Catalog and select metastore as Unity from the dropdown option.
4. Select the **cloud resource** if you have created a serverless workspace.
5. To establish a connection provide the required inputs:
   * **DataBricks Hostname -** The hostname can be obtained from the Databricks URL.
   * **DataBricks Unity Catalog Name -** This is the name of the Unity Catalog registered in Databricks Unity. It can be found under the Catalog section.
   * **DataBricks Access Token -** To create a Databricks personal access token for your Databricks workspace user, refer to this [documentation](https://docs.databricks.com/en/dev-tools/auth/pat.html).
6. Click on **Validate** after providing the inputs.
7. Next, select the databases/schemas you want to run the queries on from your metastore. This selection can be changed later.
8. To enable automatic catalog updates, toggle on the auto-refresh option and set the desired time interval for catalog updates. Remember, you can always adjust this selection and interval later.
9. If you do not require auto-refresh for your catalog, you can proceed to the next step.
10. If all the settings are correct, click on ***Create***.
11. You will be redirected to your catalog listing screen. Successful creation will change your catalog status from **PENDING** to <mark style="color:green;">**ACTIVE**</mark>**.**
    * In case the catalog has not been created there will be an error that you can see on hovering over the status bar. We have listed the errors that you can encounter while creating a catalog on the [catalog errors.](/product-documentation/error-codes/catalog-errors.md)

{% embed url="<https://www.loom.com/share/3ed5251abf574b279b05467788e8ea02?sid=c214e87f-cb46-4f6e-8da6-af0083d35de9>" %}
Unity Catalog Creation in Cloud Prem workspace
{% endembed %}

<figure><img src="/files/CMVlFTwA4OhozPpozB1I" alt="" width="563"><figcaption><p>Unity Catalog Creation in Serverless workspace</p></figcaption></figure>


---

# 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 dynamically by asking a question.

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

```
GET https://docs.e6data.com/product-documentation/catalogs/create-catalogs/unity-catalog/connect-to-unity-catalog.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.
