function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ram Mohan Reddy .KRam Mohan Reddy .K 

How to embed wave dashboard in external web sites

below is vf page where i tried to access wave dashboard along with accesstoken and endpoint url.
<apex:page >
    <apex:includeScript value="/lightning/lightning.out.js"/>
    <apex:outputLabel >Sample Dashboard</apex:outputLabel>
    <apex:includeLightning />

    <div id="lightning" />

    <script>
        $Lightning.use("wave:waveApp", function() {               
             $Lightning.createComponent("wave:waveDashboard", {                    
                 dashboardId: "0FK7F000000H7K8WAK"                
             }, "app");
            }, "https://lt-wave-dev-ed.my.salesforce.com/analytics/wave/wave.apexp?tsid=02u7F000000tvPn", "00D7F000000pXMH!AR8AQO.bcc44cTOYSFnr5EnbO5VHKOLk2.pRtvB95GtatxSw6h8Lt1fsn5yFIEREkkfREgjLMP.NBVsgm8sBWcmtWmrJ_SDy")
    </script>
</apex:page>

i am getting blank page with only header.
Venkatesan SundaramVenkatesan Sundaram
I spent quite a bit of time on this. The first step you have to do is to go through the below video by Mohit

https://www.salesforce.com/video/304563/

I went through it and post going through that this is my feedback

I am not sure whether there is a pre-built wave component wave:waveApp and wave:waveDashboard exists in the instance as documented here by Salesforce

https://releasenotes.docs.salesforce.com/en-us/spring17/release-notes/rn_bi_lightning_out.htm

You can type anything there and it doesn't display anything meaning, the component doesn't exist.

One way is to find out from Salesforce where to get the component to reference it or

Alternatively as detailed in Mohith video create a custom lighting component that uses that uses the standard embedding technology of a wave dashboard as detailed here and do a lightning call out of the custom lighting component from an external web page or another Salesforce instance.

You can explore in similar lines. Hope it helps!