Overview
The Embed SDK is a Javascript library for presenting Stigg components in websites that are created using Webflow, Wordpress, or plain HTML. Under the hood, the Embed SDK wraps the React SDK and allows you to inject the same components into your website without needing to include any additional frameworks.Installing the SDK
To include the Embed SDK in the page, you need to add the following<script>
tag to the <body>
element:
Replace
<tag>
with the specific value of the latest published version as mentioned in the Embed SDK change log<head>
tag:
Replace
<tag>
with the specific value of the latest published version as mentioned in the Embed SDK change logRetrieving the client API key
In the Stigg app, go to Settings > Account > Environments. Copy the Client API key of the relevant environment.Getting started
You’ll need to initialize the Embed SDK with your API key. For the list of additional parameters that can be passed please refer to the React SDK’s<StiggProvider/>
component.