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

# Doppler

> Learn how to connect Opal to Doppler to see who holds each workplace role, who can reach each project, and who belongs to each group.

With the Doppler integration, you can see access to your Doppler workplace in Opal:

* See the workplace role each Doppler user holds
* See which users and groups can reach each project, and with which project role
* See who belongs to each Doppler group
* Review Doppler access alongside the rest of your apps

Opal connects to one Doppler workplace through a service account token. To see several workplaces, add a Doppler app in Opal for each one.

## Supported resources

| Resource | Read | Grant and revoke access | Notes |
| - | - | - | - |
| Doppler Workplace | ✔️ | | Each workplace role, including custom roles, is an access level. |
| Doppler Projects | ✔️ | | Each project role, including custom roles, is an access level. Shows user and group access. |
| Doppler Groups | ✔️ | | Optional. Needs a Doppler plan that includes groups. |

Opal syncs your workplace users as accounts. A project member whose role is **No access** isn't shown as holding access. Opal doesn't sync service accounts: not the access they hold on projects, and not their group memberships.

## Requirements

Before you begin, you must:

* Be an Opal Admin
* Be able to create a service account in Doppler under **Team** > **Service Accounts**, and give it a workplace role that can read users, roles, projects, and, if you sync groups, groups
* Be on version `X` or later, if you self-host Opal

## Configuration steps

### 1. Create a Doppler service account token

1. In Doppler, go to **Team** > **Service Accounts** and create a service account, for example `Opal`.
2. Give it a workplace role that can read users, workplace and project roles, and projects. If you sync groups, the role also needs to read groups.
3. Grant it access to the whole workplace, not only some projects. If the token reaches only some projects, Doppler returns just those, and Opal reads the rest as access that no longer exists.
4. Create a token for the service account and copy it.

Use a service account rather than a personal token, so access keeps working when the person who made it leaves. A personal or CLI token works for a trial, but it carries that person's own read and write access to every secret they can see. Service tokens and audit tokens don't work.

### 2. Create the Doppler app in Opal

In Opal, go to **Inventory** > **+ App** and select **Doppler**. Fill in the following fields:

| Field | Value |
| - | - |
| App name | A name for the Doppler app in Opal, for example `Doppler`. |
| App admin | The owner who administers the app in Opal. |
| Description | A short description that helps requesters understand what this app is. |
| Groups | **Sync** (default) or **Don't sync**. Don't sync leaves Doppler groups, and the project access they carry, out of Opal. |
| API token | The token from step 1. |

Opal checks the credentials when you save the app. You can change the sync settings later on the app's **Setup** tab, which also shows whether the token can read each kind of item.

### 3. Import assets

After you save the app, import the items you want to see: on the app's **Assets** tab, select **Import assets** and choose the workplace, projects, and groups. Opal pulls access only for imported items, so members appear after the next sync.

## Troubleshooting

| Error or symptom | Fix |
| - | - |
| A **Read** check fails on the **Setup** tab | Give the service account a workplace role that can read that item: users, roles, or projects. |
| **Read groups** fails | Your plan may not include groups. Grant the permission, or set **Groups** to **Don't sync**. |
| Some projects are missing | The token reaches only some projects. Grant the service account the whole workplace. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.