docs/quick-ingestion-guides/looker/configuration.md
Now that you have created a DataHub-specific API key with the relevant access in the prior step, it's time to set up a connection via the DataHub UI.
You must create two secrets to configure a connection with Looker or LookerML.
LOOKER_CLIENT_IDLOOKER_CLIENT_SECRETOn your DataHub instance, navigate to the Ingestion tab in your screen's top right corner.
<p align="center"> </p>:::note If you do not see the Ingestion tab, please get in touch with your DataHub admin to grant you the correct permissions. :::
Navigate to the Secrets tab and click Create new secret.
<p align="center"> </p>First, create a secret for the Client Id. The value should be the Client Id of the API key created in the prior step.
<p align="center"> </p>Then, create a secret for the Client Secret. The value should be the Client Secret of the API key created in the prior step.
<p align="center"> </p>Navigate to the Sources tab and click Create new source.
<p align="center"> </p>Choose Looker.
Enter the details into the Looker Recipe.
https://<your-looker-instance>.cloud.looker.com)${LOOKER_CLIENT_ID}.${LOOKER_CLIENT_SECRET}.Optionally, use the dashboard_pattern and chart_pattern fields to filter for specific dashboard and chart.
config:
...
dashboard_pattern:
allow:
- "2"
chart_pattern:
allow:
- "258829b1-82b1-4bdb-b9fb-6722c718bbd3"
Your recipe should look something like this:
<p align="center"> </p>After completing the recipe, click Next.
Now, it's time to schedule a recurring ingestion pipeline to extract metadata from your Looker instance regularly.
Decide how regularly you want this ingestion to run-- day, month, year, hour, minute, etc. Select from the dropdown.
<p align="center"> </p>Ensure you've configured your correct timezone.
<p align="center"> </p>Finally, click Next when you are done.
Name your ingestion source, then click Save and Run.
<p align="center"> </p>You will now find your new ingestion source running.
<p align="center"> </p>Now that you have created a DataHub-specific API key and Deploy Key with the relevant access in the prior step, it's time to set up a connection via the DataHub UI.
Navigate to the Sources tab and click Create new source.
<p align="center"> </p>Choose LooML.
Enter the details into the Looker Recipe. You need to set a minimum 5 fields in the recipe for this quick ingestion guide:
looker_datahub_deploy_key and paste into this filed.${LOOKER_CLIENT_ID}.${LOOKER_CLIENT_SECRET}.Your recipe should look something like this:
<p align="center"> </p>After completing the recipe, click Next.
Now, it's time to schedule a recurring ingestion pipeline to extract metadata from your Looker instance regularly.
Decide how regularly you want this ingestion to run-- day, month, year, hour, minute, etc. Select from the dropdown.
<p align="center"> </p>Ensure you've configured your correct timezone.
<p align="center"> </p>Click Next when you are done.
Name your ingestion source, then click Save and Run.
<p align="center"> </p>You will now find your new ingestion source running.
<p align="center"> </p>View the latest status of ingestion runs on the Ingestion page.
<p align="center"> </p>Click the + sign to expand the complete list of historical runs and outcomes; click Details to see the results of a specific run.
From the Ingestion Run Details page, pick View All to see which entities were ingested.
<p align="center"> </p>Pick an entity from the list to manually validate if it contains the detail you expected.
<p align="center"> </p>Congratulations! You've successfully set up Looker & LookML as an ingestion source for DataHub!