Knowledge Drop

How do I embed in Salesforce?

Userlevel 5

Last tested: Nov 18, 2019

We have an article on how to privately embed Looker in Salesforce on Community:

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:


This content is subject to limited support.                



0 replies

Be the first to reply!