π€ Who can do this? You will probably need your Mode administrator to follow the below steps β you may not have access yourself. The Mode administrator will also need to be a connection admin for every connection you want Atlan to be able to crawl.
Invite a user
To invite a user for Atlan to use when integrating with Mode:
- From the upper left corner of your Mode instance, click the drop-down with your workspace name and name, and then Invite to Mode....
- For Email Address enter a valid email address, for example for the service account.
- Click the Invite button.
- In your service account's email, open the email from Mode and click Accept invite.
- For Set up your account enter details about the service account:
- For Full name enter a name for the service account, such as
Atlan Crawler
. - For Username enter a username for the service account, such as
atlan_crawler
. - For Password and Confirm password enter the same password to use for the service account.
- For Full name enter a name for the service account, such as
- At the bottom of the form, click the Continue button.
π¨ Careful! If you do not see the prompts to enter details for the user above, you are probably already signed in to Mode. Sign out of Mode first, and then accept the invite in the service account email.
Set permissions
To set the minimum permissions required to crawl Mode:
- Log into Mode as an administrator again. (If you just completed the steps above, you'll need to logout from the service account, first.)
- From the upper left corner of your Mode instance, click the drop-down with your workspace name and name, and then Workspace settings.
- Under the People heading on the left, click Members.
- Next to the Search box, click the drop-down and select Current members.
- Confirm the user you invited is listed with Member under the Status column.
- If not, change the Search box drop-down to Pending members and confirm the invitation has been accepted.
- If so, change the Search box drop-down to Former members & requests, click the 3-dots to the far right of the service account's row, and then Reinvite to org.
- Under the Data heading on the left, click Manage Connections.
- From the Manage Connections table, for each connection you want to access in Atlan:
- Click the row for that connection.
- Change to the Permissions tab.
- At the top of the the Connection Access table, click the Add Members button.
- Search for and select the service account user, and change the drop-down for access type to Query.
- At the bottom of the form, click the Add members button.
πͺ Did you know? Atlan does not make any API requests or queries that will update the workspaces, collections, reports, charts, or queries in your Mode instance.
Generate API token
Atlan supports both workspace and personal API tokens generated in Mode for authentication.
Workspace token
To generate a workspace API token for crawling Mode:
- Log in to Mode as an administrator.
- From the upper left corner of your Mode instance, click the dropdown with your workspace name and name, and then click Workspace settings.
- Under the Workspace heading on the left, click Default Settings.
- From the tabs along the top of the Default SettingsΒ page, click the API tab.
- Next to Workspace API Keys, click the gear icon and then click Create new API token.
- For New token name, enter a meaningful name, such as
atlan-crawler
. - Click the Create token button.
π¨ Careful! Copy the Token and Password values now and save them. You will not be able to see them again in Mode after leaving this screen.
Personal token
π¨ Careful! Mode will deprecate personal token use on October 24, 2024. You can currently continue to use personal API tokens, but you will not be able to generate new personal tokens.
To generate a personal API token for crawling Mode:
- Log in to Mode as the service account user. (If you just completed the steps above, you'll need to logout from the administrator account, first.)
- From the upper left corner of your Mode instance, click the dropdown with your workspace name and name, and then click My Account settings.
- Under the Community heading on the left, click API Tokens.
- For New token name enter a meaningful name, such as
atlan-crawler
. - Click the Create token button.
π¨ Careful! Copy the Token and Password values now and save them. You will not be able to see them again in Mode after leaving this screen.