Traveln Developer Docs¶
These docs cover how to integrate and operate Traveln as a tenant and as a developer:
- Web integration (the trip planner widget, SSO button widget, Headless SDK, and tenant integration patterns)
- Mobile integration
- Integrations API reference (examples + conventions)
What you can do here¶
Use the Widget Studio
Go to Web Integration -> Widget Studio to generate embed snippets and preview either the Trip Planner Widget or the SSO Button Widget with your settings.
Custom UI
Use the Headless SDK when you want to build the full partner UI yourself and use Traveln only for tenant config, SSO, and routing.
Conventions¶
- Code blocks are copyable and syntax highlighted.
- Terminal blocks use
bashorconsole. - Reusable snippets live under
docs/_snippets/.
Example: terminal + code tabs¶
python src/manage.py test apps.businesses
curl -sS https://cdn.example.com/tenant-config/your-tenant-slug/ | jq .
fetch("https://cdn.example.com/tenant-config/your-tenant-slug/")
.then((r) => r.json())
.then(console.log)