Testing and going live
Koala provides two environments, staging and production, and the loader script URL is what selects between them: Koala gives you one URL for each. Everything else in your integration is identical.
Test on staging
Point your page at the staging loader URL while you build. Staging behaves like production, but nothing is real, so you can exercise the whole flow safely:
- render the widget and quote trips,
- select and decline bundles,
- make the post-booking calls: create policies and delete quotes,
- make mistakes: malformed trip data, missing fields, duplicate calls.
Run through your guide's checklist against staging before going further.
Go live
Once the integration is validated on staging, switch the loader script URL to the production one. Nothing else changes:
same custom element, same window.CTStore shape, same events, same post-booking calls.