Skip to content

Commit

Permalink
Cleanup looker instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-jsummer committed Oct 15, 2024
1 parent f53f52a commit b097a89
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ snow streamlit get-url SEMANTIC_MODEL_GENERATOR --open --database cortex_analyst
The Semantic Model Generator supports translating metadata from a Looker Explore. To add this functionality to the Streamlit in Snowflake app, we need to create an external access integration to allow Snowflake to reach your Looker instance.

Run the below command to create the external access integration. Before running, replace the following parameters:
- `<LOOKER_URL>` with your [Looker Base URL](https://cloud.google.com/looker/docs/admin-panel-platform-api#api_host_url)
- `<LOOKER_URL>` with your [Looker Base URL](https://cloud.google.com/looker/docs/admin-panel-platform-api#api_host_url). Pass the domain excluding https:// such as snowflakedemo.looker.com.
- `<CLIENT_SECRET>` with your [Looker Client Secret](https://cloud.google.com/looker/docs/api-auth#authentication_with_an_sdk)
- `<APP_ROLE>` with the owning role used in step #2 above

Expand Down
3 changes: 2 additions & 1 deletion partner/looker.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@
Metadata from your Explore fields can be merged with the generated Cortex Analyst semantic file.
**Note**: Views referenced in the Looker Explores must be tables/views in Snowflake. Looker SDK credentials are required.
If using Streamlit in Snowflake, an external access integration is **required**. See project README for more external access integration instructions.
Visit [Looker Authentication SDK Docs](https://cloud.google.com/looker/docs/api-auth#authentication_with_an_sdk) for credential information.
If using Streamlit in Snowflake, an external access integration is **required**. See project README for external access integration instructions.
**Tip**: Install Looker's [API Explorer extension](https://cloud.google.com/looker/docs/api-explorer) from the Looker Marketplace to view API credentials directly.
Expand Down

0 comments on commit b097a89

Please sign in to comment.