Initializing the Embeddable
Creating the Embeddable
Begin by importing the necessary modules and creating an Embeddable instance using new Embeddable. During creation, you can configure the embed token if wanted.
import { Embeddable} from 'embeddables';
import { getEmbedToken } from './your-token-retrieval-script';
// Create the Embeddable instance with initial configuration.
const embeddable = new Embeddable({
embedToken: getEmbedToken() // Secure token used to authenticate and fetch data.
})