Invite users

You can invite others to collaborate with you in Astra DB.

Create an organization

  1. In the Astra Portal, click the current organization, and then select Manage Organizations.

  2. Click Add Organization.

  3. Enter a name for the organization and a notification email address.

  4. Click Add.

Initially, you are the only user in the organization, and you have the Organization Administrator role.

Optional: Create a custom role

Custom roles are an optional way to configure permissions, if the default roles aren’t sufficient.

You can create custom roles in the Astra Portal or with the DevOps API.

  1. In the Astra Portal, make sure you’re in the organization where you want to create the role. Switch organizations, if necessary.

  2. Go to Settings, and then click Roles.

  3. Click Add Custom Role.

  4. Enter a name for the role.

  5. Select the permissions to assign to the role.

    To allow this role to view the Astra Portal, you must select the Read User and View DB permissions.

  6. Select the specific databases and keyspaces that the role can access. Alternatively, to allow the role to access all databases and keyspaces, select Apply permissions to all databases in this organization.

  7. Click Create Role.

Add a user

  1. In the Astra Portal, make sure you’re in the organization where you want to add a user. Switch organizations, if necessary.

  2. Go to Settings, and then click Users.

  3. Click Invite User.

  4. Enter the user’s email address and select a role.

  5. Click Invite User.

The user receives an invitation email to join your organization.

Invited users are listed as pending until they accept the invitation to join your organization.

Generate an application token

Use the Astra Portal or the DevOps API to create an application token.

  1. In the Astra Portal, go to Tokens.

  2. Select the role you want to attach to your token. The permissions for the selected role are shown.

  3. Select Generate Token to generate a Client ID, Client Secret, and Token.

  4. Download your Client ID, Client Secret, and Token, and then store them securely.

After you exit this page, you can’t access the Client ID, Client Secret, and Token again.

These tokens never expire, but you can delete tokens that are compromised or no longer needed.

You can use your Client ID and Client Secret to connect to your database.

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2024 DataStax | Privacy policy | Terms of use

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000, info@datastax.com