> For the complete documentation index, see [llms.txt](https://docs.umbraco.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.umbraco.com/umbraco-cloud/build-and-customize-your-solution/set-up-your-project/databases/cloud-database/connecting-to-the-database-on-mac.md).

# Connecting to the Database on Mac

In this guide, we show you how you can connect and work with your Cloud Database on Mac.

## Prerequisite

* An Umbraco Cloud project
* [Whitelisted IP](https://docs.umbraco.com/umbraco-cloud/databases/cloud-database#opening-the-firewall) on Umbraco Cloud
* [Azure Data Studio](https://azure.microsoft.com/en-us/products/data-studio)

### Connecting to the Database

Follow the steps below to connect and work with your Umbraco Cloud Database on a Mac.

1. Go to **SQL Connection Details** in the **Configuration** menu on Umbraco Cloud.
2. Note down the **Server name**, **Login**, **Password**, and **Database**.

<figure><img src="https://3739769070-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPzKn70Piyd2fd5UkYZGf%2Fuploads%2Fgit-blob-54a598455345aff163615566b2c0da79342455a4%2Fimage.png?alt=media" alt=""><figcaption><p>SQL Connection Details on Umbraco Cloud</p></figcaption></figure>

3. Open **Azure Data Studio**.
4. Click "**Create a connection**" on the welcome page in Azure Data Studio.

<figure><img src="https://3739769070-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPzKn70Piyd2fd5UkYZGf%2Fuploads%2Fgit-blob-c8ed857948c2504083d090b15b6514e9126c587e%2Fimage.png?alt=media" alt=""><figcaption><p>Create a Connection in Azure Data Studio</p></figcaption></figure>

5. Change the Authentication type to SQL Login and enter the following information in the Connection details dialog:
   1. Add the **Server name.**
   2. Add the **Login**.
   3. Add the **Password**.
   4. Add the **Database**.

<div data-full-width="false"><figure><img src="https://3739769070-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPzKn70Piyd2fd5UkYZGf%2Fuploads%2Fgit-blob-3a5dd28df7e064c7e2ded8dc16b9603b390d6682%2Fimage.png?alt=media" alt="" width="375"><figcaption><p>Entering connection details in Azure Data Studio</p></figcaption></figure></div>

6. Click **Connect** once the connection details have been filled out.

You have now connected to your database. You can work with the databases on Umbraco Cloud like you could on any other host. Remember to let Umbraco Cloud do the work when it comes to the Umbraco-related tables (`Umbraco*` and `CMS*` tables).


---

# 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.umbraco.com/umbraco-cloud/build-and-customize-your-solution/set-up-your-project/databases/cloud-database/connecting-to-the-database-on-mac.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.
