> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cedarai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Access and permissions

> Sign in to Data Depot, get the right role for your carrier, and understand what each permission allows.

Data Depot uses your Cedar login and the roles assigned to you in the Admin Portal. Access is always per carrier: you
can have full access for one carrier and none for another.

## Sign in

Go to [ddepot.cedarai.com](https://ddepot.cedarai.com), or open Data Depot from Cedar Accounts.⁠‌​‌‌‌‌​​‌‌‌​‌​‌​‌​​‌‌​‌‌⁠ If you aren't signed in,
Data Depot sends you to the Cedar sign-in page and brings you back afterwards. Your name and email appear in the top
right, next to **Sign out**.

## Roles

Most people need a single role, **Data Depot Admin**, granted on each carrier they work with.

| Role | Grants |
| - | - |
| **Data Depot Admin** (`dataDepot.admin`) | Everything in Data Depot for the carrier: Postgres views and logins, API clients, CDC delivery, and data warehouse configuration |
| `dataDepot.apiClientManager` | API clients only: create, edit, rotate, and delete them |
| `arms.dataWarehouseAdmin` | Postgres views and logins and data warehouse configuration. Does not include API clients |

> [!TIP]
>
> When you assign a role in the Admin Portal, search for `dataDepot` or `depot`. Searching for "Data Depot" with a space
> doesn't find the role, because the search matches the role name, which has no space.

After a role is granted, **sign out of Data Depot and sign in again** so your new access is picked up.

Your organization's Admin Portal administrator can grant these roles. If no one in your organization can, contact your
Cedar account team. See [Roles](https://docs.cedarai.com/user-docs/admin/roles.md) for how roles and bindings work in the Admin Portal.

## What each action needs

If you build custom roles in the Admin Portal, use this table to choose permissions.⁠‌​‌‌‌‌​​‌‌‌​‌​‌​‌​​‌‌​‌‌⁠ Data Depot Admin includes all of
them.

| Action | Permission |
| - | - |
| Browse Postgres sources and columns, see existing views | `dataDepot.provision.read` or `dataDepot.provision.create` |
| Provision or update a view, create its database login | `dataDepot.provision.create` |
| Revoke a view, reset its database password | `dataDepot.provision.delete` |
| See CDC deliveries | `dataDepot.provision.read` or `dataDepot.provision.create` |
| Subscribe to CDC, change the interval, rotate the destination credential, delete a subscription | `dataDepot.provision.create` |
| See API clients | `dataDepot.apiClient.list` |
| Create an API client | `dataDepot.apiClient.create` |
| Edit an API client's access or assumed users | `dataDepot.apiClient.update` |
| Rotate an API client's credential | `dataDepot.apiClient.create` and `dataDepot.apiClient.update` |
| Revoke a credential, delete an API client, retry cleanup | `dataDepot.apiClient.delete` |
| View as a user group | `iam.userGroupPolicy.viewAs` |

The **MCP** pages don't need a Data Depot permission. What your AI assistant can read through MCP comes from your
existing ARMS permissions for each carrier. See [MCP](https://docs.cedarai.com/user-docs/data-depot/mcp.md).

## If you don't have access

When something is missing, Data Depot tells you instead of showing an empty page.

| Message | What it means | What to do |
| - | - | - |
| **You don't have access to Data Depot** | Cedar accepted your login, but couldn't confirm any Data Depot access for it | Ask for the Data Depot Admin role on your carrier, then sign out and sign in again. If you meant to use another login, select **Sign in with a different account** |
| **No Data Depot access** | You have no Data Depot permission on any carrier | Ask for the Data Depot Admin role, then sign out and sign in again |
| **No Postgres access** | You have no Postgres access on any carrier, but you can still connect an AI assistant | Select **Open MCP**, or ask for the Data Depot Admin role if you need Postgres |
| **No Postgres access for this carrier** | You have no Data Depot access for the selected carrier | Pick another carrier, or ask for access to this one |
| **Postgres isn't available for this carrier** | You can use API clients or MCP for this carrier, but not Postgres | Select **Open API** or **Open MCP**, or ask for a role that includes Postgres views if you need them |
| **Data Depot couldn't load your access** | Data Depot couldn't check your access, often because a Cedar service is briefly unavailable | Select **Try again**. If it keeps happening, contact Cedar support |

If you can't open Postgres for the selected carrier, Data Depot takes you to **API** or **MCP** instead, whichever you
can use.

### If you can see but not change

Some roles let you look without changing anything. For example, `dataDepot.provision.read` lets you browse Postgres
sources and views but not create them. On those pages, Data Depot shows one bar at the top, such as **View only** on
Postgres, that says what you can't do and which role to ask for. The buttons for actions you can't take stay on the
page but are turned off, so you can still see what the option offers. On a source's page, **Choose columns** becomes **Columns** and shows which
columns are **Included** in the current view.

## View as a user group

**View as user group** lets an admin check what Data Depot looks like for members of one of the carrier's user groups,
for example before granting a group access.⁠‌​‌‌‌‌​​‌‌‌​‌​‌​‌​​‌‌​‌‌⁠ It appears in the header when you have the
`iam.userGroupPolicy.viewAs` permission and the carrier has at least one user group. Carrier admin and operator roles
include this permission.

![Data Depot Sources page with the Viewing Data Depot as Data team banner, the group picker, Exit view as, and a View only notice](https://mintcdn.com/cedaraiinc/x6rnIZGf3PCPR7Z-/images/data-depot/view-as.png?fit=max\&auto=format\&n=x6rnIZGf3PCPR7Z-\&q=85\&s=2d63d67e1ffe39ef909fe673cebf19a0)

Viewing Data Depot as the Data team user group. This group can only view Postgres, so the page shows a View only bar.

**1. Start View as**

Select **View as user group** in the header. Data Depot starts with the carrier's first user group and shows a
banner that names it, for example **Viewing Data Depot as Data team. Changes you make here are real.**

**2. Pick the group**

To check a different group, choose it from the list in the banner. You can pick any user group on the carrier, not
just groups you belong to. Every page now uses that group's permissions.

**3. Exit**

Select **Exit view as** to return to your own permissions.

> [!WARNING]
>
> View as is not a sandbox. Anything you change while viewing as a group, such as provisioning a view or creating an API
> client, really happens. The change is recorded under your own name, not the group's.

## Related pages

* [Cedar Data Depot overview](https://docs.cedarai.com/user-docs/data-depot/overview.md)
* [Roles](https://docs.cedarai.com/user-docs/admin/roles.md)
* [User groups](https://docs.cedarai.com/user-docs/admin/user-groups.md)


## Related topics

- [Postgres views](https://docs.cedarai.com/user-docs/data-depot/postgres.md)
- [Choosing the right option](https://docs.cedarai.com/user-docs/data-depot/choosing.md)
- [MCP privacy addendum](https://docs.cedarai.com/user-docs/api-reference/mcp-privacy.md)
- [MCP for AI assistants](https://docs.cedarai.com/user-docs/data-depot/mcp.md)
- [API clients](https://docs.cedarai.com/user-docs/data-depot/api-clients.md)
