Skip to content

Setting up a service account#

If you need to use multiple API tokens or non-user tokens, you can set up one or more service accounts in your workspace.

You can use service accounts for automated processes, such as training pipelines and report generation, instead of maintaining user accounts for this purpose.

To create a service account:

  1. In the top-left of the Neptune app, click your workspace name to access your workspace view.

  2. Click the Service accounts tab to get started, then click New service account.

  3. Enter a name for the service account.

    The full name of the account will be <service-account-name>@<workspace-name>.

  4. If you want to grant the account contributor access to all projects in the workspace, check the corresponding box.

    Otherwise, you'll need to manually assign the service account to each project it should have access to. Setting the project privacy to "workspace" does not make it accessible to service accounts, only user accounts.

  5. Once done, you can manage and access the API token of the service account.

Note: If you deactivate a service account and then reactivate it, the API token is reset and needs to be updated in your code.

Related

To learn more about service accounts, see Project and workspace managementService accounts