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

# astro workspace token add

> Add an Organization API token to your current Workspace.

> [!NOTE]
>
> This command is only available on Astro.

Add an Organization API token to your current Workspace and grant it Workspace permissions.

## Usage

```sh wrap theme={null}
astro workspace token add
```

## Options

| Option | Description | Valid Values |
| - | - | - |
| `--org-token-name` | The name of the Organization API token you want to add to your Workspace. | Any string enclosed in quotations |
| `--role` | The Workspace role to grant to the Organization API token. | One of `WORKSPACE_MEMBER`, `WORKSPACE_AUTHOR`, `WORKSPACE_OPERATOR` or `WORKSPACE_OWNER`. |

## Related commands

* [astro workspace token update](https://astronomer.io/docs/cli/v1.47/astro-workspace-token-update.md)
* [astro workspace token rotate](https://astronomer.io/docs/cli/v1.47/astro-workspace-token-rotate.md)
* [astro workspace switch](https://astronomer.io/docs/cli/v1.47/astro-workspace-switch.md)
