> ## 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.

<Info>
  This command is only available on Astro.
</Info>

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](/docs/cli/v1.46/astro-workspace-token-update)
* [astro workspace token rotate](/docs/cli/v1.46/astro-workspace-token-rotate)
* [astro workspace switch](/docs/cli/v1.46/astro-workspace-switch)
