Knowledge Drop

How do I embed in Salesforce?

  • 7 July 2021
  • 0 replies
  • 236 views

Userlevel 4

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-into-salesforce-sfdc-561

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.                

 

 


0 replies

Be the first to reply!

Reply