Skip to main content

Set up Looker

Who can do this?

You probably need your Looker administrator to run these commands - you may not have access yourself.

Choose user permissions method

Atlan supports two options for user permissions in Looker. Choose one of these methods to set up Looker:

This role is required for Atlan to automatically generate lineage across Looker objects. When using this role, the crawler can access all folders in Looker including personal folders.

To set up this role:

  1. Log in to your Looker instance and confirm that you're an Admin user.
  2. From the menu in the upper left, click the Admin item.
  3. Under the Users section, click the Users item.
  4. In the table, find the user you're logged in as. Click the Edit button to the right of your user's row.
  5. Next to API3 Keys, click the Edit Keys button.
  6. On the resulting Edit User API3 Keys page, click the New API3 Key button.
  7. Save the generated credentials for crawling Looker.

Configure lineage access

In addition to user permissions, you can set up access to your project files in GitHub to generate field-level and cross-project lineage from Looker, and to crawl Looker views and build upstream lineage for views and explores. Choose one of the following methods:

Who can do this?

Any user with access to the Looker project files in GitHub can set up this part. You need to share the generated private key with whoever sets up the Looker crawler in Atlan. If your organization uses single sign-on (SSO) on GitHub, you must first authorize the SSH key for use with SSO. Refer to Authorizing an SSH key for use with SAML single sign-on to complete the process.

To configure an SSH key for access to GitHub project files:

  1. Create a new SSH key on your local computer. For example, run the following command and enter a passphrase when prompted (or leave blank for no passphrase):

    ssh-keygen -t ed25519 -C "[email protected]" -f ~/.ssh/atlan_looker_lineage
  2. Copy the generated keys from your local computer. For example:

    • To copy the public key, run this command and copy the output:

      cat ~/.ssh/atlan_looker_lineage.pub
    • To copy the private key, run this command and copy the output:

      cat ~/.ssh/atlan_looker_lineage
  3. In the upper-right corner of any GitHub page, click your profile photo, then click Settings.

  4. Under the Access section of the left sidebar, click SSH and GPG keys.

  5. In the upper-right, click the New SSH key button:

    1. For Title enter a descriptive label for the new key. For example, Atlan Lineage.
    2. For Key paste in the public key you copied earlier.
    3. At the bottom of the form, click the Add SSH key button.
  6. If prompted, enter your GitHub password and click Confirm password.

Was this page helpful?