Configure your embed to match your app's needs and branding. All settings are managed from your workspace embed page.
Turn on embed functionality to get your unique embed code. When disabled, existing embeds will stop working.
Allow users to access templates from your workspace. Disable if you want users to start from scratch only.
Control what users can do with templates:
Let users download their designs directly from the embed. When enabled, users can export templates as PNG, JPEG, WEBP, PDF, or HTML. Disable if you want to handle exports through your own application using Events.
Send real-time events to your parent page via postMessage when users interact with the embed. Events are fired for:
See Events for detailed usage and code examples.
Set the interface language for your embed. Choose from available languages including English, Spanish, French, and more.
Let users switch languages themselves, or lock it to your default choice.
Replace the default workspace name with your brand name in the embed interface.
Upload your logo (square format, minimum 128x128px) to replace the default Orshot icon.
Choose a color that matches your brand. This affects buttons, highlights, and interactive elements throughout the embed.
Protect your embed by specifying which domains can use it:
https://yourapp.com
https://staging.yourapp.com
http://localhost:3000Only these domains will be able to load your embed. Leave empty to allow any domain (not recommended for production).
Get notified when users create or update templates:
https://yourapp.com/api/studio-webhookYour endpoint will receive POST requests with template data whenever users:
template.create)template.update)export async function POST(request) {
try {
const body = await request.json();
const { event_type, template_id, user_data } = body;
console.log("Event:", event_type);
console.log("Template ID:", template_id);
// Process the webhook data
// Save to your database, send notifications, etc.
return Response.json({ success: true });
} catch (error) {
return Response.json({ error: error.message }, { status: 500 });
}
}Once configured, you'll get embed codes for different use cases:
Opens with an empty workspace:
<embed
src="https://orshot.com/embeds/your-id"
style="width: 100%; height: 100%; min-height: 500px; border-radius: 8px;"
/>Opens with a specific template loaded:
<embed
src="https://orshot.com/embeds/your-id?templateId=123"
style="width: 100%; height: 100%; min-height: 500px; border-radius: 8px;"
/>Set a specific language (overrides default):
<embed
src="https://orshot.com/embeds/your-id?templateId=123&lang=spanish"
style="width: 100%; height: 100%; min-height: 500px; border-radius: 8px;"
/>Use the live preview to test your settings before going live. The preview shows exactly how users will see your embed with current settings applied.
| Setting | Description | Default |
|---|---|---|
| Show Studio Templates | Access workspace templates | Enabled |
| Allow Template Delete | Users can delete templates | Enabled |
| Allow Template Rename | Users can rename templates | Enabled |
| Allow Multipage | Create carousel templates | Enabled |
| Allow Import Template | Import templates via JSON | Enabled |
| Allow Downloads | Export as PNG, PDF, HTML, etc. | Enabled |
| Enable Events | Send postMessage events | Disabled |
| Allow Language Change | Switch interface language | Disabled |
