Connect Looker
Lighthouse runs the saved Looks your team already built, so the numbers on your Looker dashboards become monitored metrics: same joins, same filters, same numbers. Setup takes about 20 minutes and most of it needs Looker Admin access.
Decide which Looks to monitor
You · 5 minutes
Lighthouse monitors saved Looks. Each Look you pick becomes a dataset you can build metrics on. Pick the Looks that hold the numbers you actually care about watching, and note which model each one is built on: open the Look’s Explore and read the URL, which reads /explore/model_name/explore_name.
If a number you want to watch only exists on a dashboard tile or in an Explore, save it as a Look first.
ecommerce.Create a service account
Looker admin · 2 minutes
Lighthouse connects as its own account rather than borrowing a real person’s login. Access is then easy to audit and easy to revoke, and nothing breaks when someone leaves the company.
Looker has a dedicated account type for exactly this. On the Users page, the Add button opens a dropdown: choose Service Account, not Users.
Name it Lighthouse. Leave the Create default set of API credentials switch turned on; it’s on by default, and it saves you a step later. Then save.
Create a permission set
Looker admin · 3 minutes
A permission set is a named list of what an account can do. You’re creating one that allows seeing and running Looks, and nothing else.
Name it Lighthouse Read Only, then tick these boxes in this order. Looker greys out a permission until its parent is ticked:
- access_data
- Needed?Required
- What it allowsSee any data at all; everything else depends on it
- see_looks
- Needed?Required
- What it allowsSee saved Looks, so Lighthouse can list and run them
Leave everything else switched off. In particular develop, deploy, manage_models, administer, save_content, and anything that sends or schedules content.
Lighthouse Read Only appears in your list of permission sets.Create a model set
Looker admin · 2 minutes
A model set is a named list of which models an account can see. This is what keeps Lighthouse scoped to the models behind the Looks from step 1 rather than everything in Looker.
Name it Lighthouse Models and select only the models from step 1. You can add more later without redoing any of this.
Lighthouse Models appears in your list of model sets with the models you chose.Create the role and assign it
Looker admin · 3 minutes
A role combines the two things you just made (what the account can do, and which models it can see) and attaches them to the service account.
Name it Lighthouse. Set the permission set to Lighthouse Read Only and the model set to Lighthouse Models, then assign it to the service account from step 2.
Lighthouse.Copy the API credentials
Looker admin · 1 minute
These are the username and password Lighthouse uses to connect. Looker calls the two halves a Client ID and a Client Secret.
If you left the credentials switch on in step 2, a key already exists and you just need to open it. Service accounts live under their own tab on the Users page:
If no key is listed, click Create New API Key.
Network access
Looker admin · 5 minutes, if needed
Many companies restrict Looker so it only accepts connections from approved locations. What you need to do here depends entirely on how your Looker is hosted, and the two cases are genuinely different, so check which one you are before following either.
If you use Looker (Google Cloud core)
There is no IP Allowlist page in the admin panel on these instances; access is controlled in Google Cloud rather than in Looker. What matters is the connection type your instance was created with:
| Connection type | What it means for Lighthouse |
|---|---|
| Public | Works immediately, nothing to configure |
| Public secure or hybrid | Add the ranges below to the instance's IP allowlist in Google Cloud |
| Private IP only | Not reachable from outside your VPC. Talk to us before going further |
If you use customer-hosted Looker
The admin panel does have an IP allowlist page:
If the allowlist is disabled, skip this step. If it is enabled, add both ranges below.
The ranges to add
Connect in Lighthouse
You · 5 minutes
In Lighthouse, open Data Sources in the sidebar, click Create new data source, and choose Looker.
- Looker address
- RequiredYes
- DescriptionYour Looker https address, e.g. https://acme.cloud.looker.com. For self-hosted Looker, include the API port if your admin gives you one, e.g. https://looker.acme.com:19999
- Client ID
- RequiredYes
- DescriptionThe Client ID from step 6
- Client secret
- RequiredYes
- DescriptionThe Client Secret from step 6, stored encrypted
- Looks
- RequiredYes
- DescriptionSearch for and pick the Looks from step 1. Each needs a unique name
Click Test Connection. Lighthouse signs in with the credentials and refuses to save if anything is wrong, so a green result means the whole chain works.
Check the numbers match
You · 10 minutes
Don’t skip this. Before you build monitoring on top of the connection, confirm Lighthouse is seeing what your team sees.
Pick one metric you know well: something with a number you could recite from memory. Create it in Lighthouse on its Look, then open the same Look in Looker for the same date range and compare.
If they match, you’re done and everything else will match too. If they don’t, it’s almost always row-level security; see access filters below.
Three things worth knowing
If your numbers don’t match
Some companies restrict what each person sees in Looker: a regional manager sees only their region, for example. This is called row-level security, and it follows the account making the request. Since Lighthouse connects as its own service account, that account needs to be told what it’s allowed to see, or it will quietly read a filtered slice of the data.
The symptom is unmistakable: Lighthouse consistently reports lower numbers than your dashboards. The fix is for your admin to set the right values in the User attributes section of the service account’s edit page:
If your data updates on a schedule
Some Looks are built on tables Looker rebuilds periodically rather than reading live; your admin will call these PDTs. If a metric sits on one, Lighthouse can only detect a change after the rebuild happens. A metric checked hourly on a table that rebuilds nightly will only ever move once a day.
This isn’t a problem, but it’s worth knowing before you set an alert expecting to hear within the hour. Ask your admin which of your Looks use PDTs and how often they refresh.
What this costs you in Looker
Each check runs the Look once through the Looker API, which runs its query against your warehouse. Lighthouse signs in once per check, makes its calls, and signs out again, so the calls count against your Looker API limits like any other API client’s. A Look can return up to 100,000 rows. If Looker rate limits the requests, the run fails with a message saying so, and the next scheduled check tries again. Your warehouse bill sees each run, the same as any other scheduled query.
What Lighthouse stores
Lighthouse stores the name and ID of each Look you pick, the columns each Look returns, and the results of your metric runs. The Looker sign-in token is used for one check and then signed out; it is never kept.
Credentials are encrypted at rest. For our full security posture and compliance status, see the Trust Center.
If something goes wrong
| What you see | What it usually means |
|---|---|
| The connection test just hangs, then times out | The IP allowlist in step 7. This is by far the most common cause. Check it first. |
| "Looker refused the client ID or secret" | The Client ID or Secret has a typo, or the key was revoked. Ask your admin to generate a new one. |
| A Look is missing from the picker, or Looker did not allow the request | The model set doesn't include the Look's model, the role was never assigned to the service account, or the permission set lacks see_looks. |
| Numbers are lower than your dashboards | Row-level security. See "If your numbers don't match" above. |
| "Enter the https address of your Looker" | Use the full https address. Self-hosted Looker that serves its API on another port needs the port in the address, e.g. :19999. |
For anything not listed here, see Troubleshooting or get in touch; we can usually tell from the error message which step went wrong.