Admin credentials required
To complete this guide, you will need Looker admin credentials as well as admin privileges for the code repository that hosts your LookML code.
This guide explains how to create service accounts for Monte Carlo on Looker and on your LookML code repository.
To review all steps necessary to integrate a BI tool with Monte Carlo, please see here.
In this guide, you will:
- Create an API key on Looker, allowing Monte Carlo to access metadata about your Dashboards, Looks and other Looker objects.
- Connect Monte Carlo with your LookML code repository, allowing Monte Carlo to map dependencies between Looker objects and data warehouse tables.
To create a read-only Looker API key for Monte Carlo, please follow the steps below.
First, create a permission set:
- In the top navigation bar, go to Admin > Roles and click New Permission Set.
- Name your permission set "montecarlops".
- Check the necessary permissions (see list below), and click New Permission Set to save.
see_datagroups access_data access_data.see_lookml_dashboards access_data.see_looks access_data.see_looks.see_user_dashboards access_data.see_looks.explore access_data.see_looks.see_lookml
Then, create a role:
- In the top navigation bar, go to Admin > Roles and click New Role.
- Name your role "montecarlorole".
- Select the permission set you created ("montecarlops").
- Select the appropriate Model Set (typically, All).
- Click New Role to save.
Then, create a user:
- In the top navigation bar, go to Admin > Users and click Add Users.
- Choose an email address, for example [email protected] You are not required to use a valid email address.
- Uncheck the Send setup emails option.
- Select the role you created ("montecarlorole").
- Click Add Users to save.
Then, create an API key
- In the top navigation bar, go to Admin > Users and click Edit on the new user you created for Monte Carlo.
- Click Edit Keys and then New API3 Key.
- Copy Client ID, and paste into Monte Carlo's integration wizard.
- Unhide and copy Client Secret, and paste into Monte Carlo's integration wizard.
Finally, get your Looker host URL:
- In the top navigation bar, go to Admin > Settings.
- Copy Host URL, and paste into Monte Carlo's integration wizard.
- Add the suffix :19999 to the URL, e.g. if your host is https://mydomain.looker.com, then you should provide the value https://mydomain.looker.com:19999 on Monte Carlo's integration wizard.
Please note that if you use a self-signed certificate for Looker's SSL connection, you will need to uncheck the Verify SSL on Monte Carlo's integration wizard.
To provide read-only access to your LookML code repository, please follow the steps below. You will need to complete setting up Looker's API key on Monte Carlo prior to performing this section.
To enable LookML access to Monte Carlo, you will Create an SSH key to access your LookML code repository.
Please contact us using the Intercom bot or at [email protected] if you need assistance with one of the following:
- Connecting to multiple LookML code repositories.
- Having a colleague who has the appropriate admin access complete this step.
To enable Monte Carlo access to hosted Git repositories, you can provide a read-only SSH key.
First, create an SSH key on your local machine:
- In your terminal, please use the following command, using your own email address.
ssh-keygen -t rsa -b 4096 -C "[email protected]"
- Please follow the prompts and do not provide a passphrase (leave empty).
Then, use the public key (found within the .pub file you generated earlier) to configure read-only SSH access on your repo using the following instructions:
Finally, provide the following details on Monte Carlo's integration wizard to validate and complete the integration:
- Your private key (found within the file that has no extension you generated earlier).
- Your repository URL. Most hosting services will provide the SSH cloning URL on the repository's main page. It typically looks like so: [email protected]:USERNAME/REPOSITORY.git.
Updated 3 days ago
Adding another Looker connection or want to modify an existing one?