Embed Configuration
Setting Up
- Go to Settings > Embed in the portal
- Enable the embed system
- Configure allowed origins (your application’s domains)
- Create a publishable key
- Define which features to expose
Configuration Options
| Setting | Description |
|---|---|
| Allowed Origins | Domains that can initialize embeds |
| Features | Which Orderly features to expose (bridges, orders, tracking) |
| Branding | Custom colors and logo for embedded components |
| Permissions | What end users can do within embeds |
Via the API
PATCH /api/embed/config
Content-Type: application/json
{
"enabled": true,
"allowedOrigins": ["https://myapp.com", "https://app.mycompany.dev"],
"features": {
"bridges": true,
"orders": true,
"tracking": true,
"shipments": false
},
"branding": {
"primaryColor": "#FF6B00",
"logo": "https://myapp.com/logo.png"
}
}