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

# Give a teammate access to a workspace and cluster

> Give an analyst access to one e6data Serverless cluster, test it in Query Editor, and review or remove the grant.

Use this guide when your workspace admin confirms that **Can use** and **Can manage** permissions are active for clusters in your Serverless workspace. If your workspace still uses Admin, Manager, and Viewer roles, follow [Roles and permissions](https://docs.e6data.com/platform/identity/roles-and-permissions.md).

Suppose an analyst needs to run SQL on a reporting cluster. For a first test, choose an existing organization member with no admin role or other grants on the test cluster. Use a running cluster and a Catalog and database the analyst can already select. Ask the workspace admin to confirm SQL access under **Settings > Access**. Changing that setting affects the workspace.

| What the analyst needs to do | Access to give or check |
| - | - |
| Open the workspace | **Can use** on the workspace |
| Run SQL on the selected cluster | SQL access and **Can use** on that cluster |
| Read a particular table | Check [Catalog and data access](https://docs.e6data.com/query/governance/catalog-access-control.md) for that table |

## Add the analyst to the workspace

An organization Admin or someone with **Can manage** on the workspace can do this step.

1. Open the workspace details from the organization's workspace list.
2. Under **Members**, select **Add member**. Choose the analyst and **Can use**, then add them.
3. Ask the analyst to sign in with that identity and open the workspace. If the workspace is missing, check the member and workspace names together.

## Give the analyst access to one cluster

1. Ask someone who can manage permissions on the reporting cluster to open **Clusters**, find that cluster, and select **Permissions**.
2. In **Add person, group or service principal**, find the analyst. Choose **Can use** and select **Save**.
3. Reopen **Permissions** and check the analyst's name and level. If the analyst already gets access through a group, check the group's grant before adding a second one.

## Test access as the analyst

Open [Query Editor](https://docs.e6data.com/query/querying/query-editor.md) as the analyst. Select the reporting cluster, Catalog, and database, then run:

```sql theme={"theme":{"light":"github-light","dark":"github-dark"}}
SELECT 1;
```

One row containing `1` confirms that the analyst can run SQL. To check table access, run a separate read against an approved test table. As the analyst, open the cluster's actions menu and confirm you cannot use **Permissions** to change access. Then have the admin review the analyst's direct and group grants under **Administration > Access > People**. Check that neither grants management access to the cluster.

**I can open the workspace. Why can't I run the query?** Confirm that the selected cluster is running, then check the cluster grant, workspace SQL access, and the selected Catalog and database. Once those checks pass, repeat the query above.

## Review or remove cluster access

1. Open **Administration > Access > People**, select the analyst, and check the **Source** of their access. A grant can come directly from the cluster or through a group.
2. To remove a direct grant, reopen the cluster's **Permissions**, remove the analyst's entry, and select **Save**. This keeps their workspace membership.
3. Have the analyst start a fresh session and repeat the test. If they can still run the query, review their groups and other grants. Changing a group's cluster grant affects every member of that group.


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