import { defineConfig } from '@embeddable.com/sdk-core';
import react from '@embeddable.com/sdk-react';
export default defineConfig({
plugins: [react],
previewBaseUrl: '<https://app.us.embeddable.com>',
pushBaseUrl: '<https://api.us.embeddable.com>',
});
- When embedding you’ll need the following script tag:
<script
type="module"
src="<https://api.us.embeddable.com/js/v1/>">
</script>
- And the Web Component should look like this:
<em-beddable
base-url="<https://api.us.embeddable.com/>"
token='eyJhbGciOiJIUzI1NiJ9.eyJzZWN1cml0eVRva2VuSWQ...'
/>
"98.82.255.116"