# Integrating with Looker

[Prerequisites](#prerequisites)

[Looker Setup](#looker-setup)\
&#x20;   [Step 1: Add a User](#step-1-add-a-user)\
&#x20;   [Step 2: Generate Credentials](#step-1-add-a-user-1)

### Prerequisites <a href="#prerequisites" id="prerequisites"></a>

To connect Looker to Drivetrain, you need:

* An active Looker account
* Admin privileges on Looker
* Admin privileges in Drivetrain

### Looker Setup <a href="#looker-setup" id="looker-setup"></a>

Drivetrain supports integration with Looker via API from a **dedicated user account**. To get started you would need to create a dedicated user on Looker for Drivetrain.

#### Step 1: Add a User <a href="#step-1-add-a-user" id="step-1-add-a-user"></a>

1. Login to your Looker account.
2. Navigate to the **Users** page which is in the **Users** section of the **Admin** menu. This lists all the user accounts on your Looker instance.
3. To add a user, click the **Add Users** button.
4. In the **Adding a new user** page, type or paste the email address shared by your customer success manager.
5. Provide the user with the default **Developer** role.

#### Step 2: Generate Credentials <a href="#step-1-add-a-user" id="step-1-add-a-user"></a>

Only admins can generate API3 Keys (required for integration). The steps to do so are as follows:

1. Navigate to the **Users** page which is in the **Users** section of the **Admin** menu. This lists all the user accounts on your Looker instance.
2. Navigate to our user and click the **Edit Keys** button. Click the **New API3 key** button to generate a new key.
3. Note the **Client ID**, **Client Secret** and **Subdomain** and share them with your customer success manager.

Documentation on this topic for your reference here.

{% hint style="info" %}
That’s it! Inform your customer success manager so that they can get started!
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://integrations.drivetrain.ai/integration-guide/integrate-with-drivetrain/bi/integrating-with-looker.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
