How do I embed in Salesforce?

Knowledge Drop

Last tested: Nov 18, 2019
 

We have an article on how to privately embed Looker in Salesforce on Community: https://community.looker.com/embedding-looker-powered-by-looker-75/embedding-looks-and-dashboards-in...

OKay, but what if i want to use sso embed?

If you are using SSO embed, you'll most likely want to create unique embed URL parameters based on the credentials of the Salesforce user. Normally this function would be performed in a script in your internal app, but you can use Salesforce Apex to write the script to generate your embed URLs inside Salesforce itself. You can retrieve the current Salesforce user’s email address, then use that to create a unique external_user_id from that address and specify permissions, models, user attributes, etc. accordingly. Here is an example script: https://github.com/looker/looker_embed_sso_examples/pull/3/files

This content is subject to limited support.                

Version history
Last update:
‎07-07-2021 01:52 PM
Updated by: