Embedded Studio
The Mountaya map editor inside your own product. Your users draw, edit and publish itineraries and zones without leaving your app.
The quickstart builds this in a Vite app, with the server route the token comes from.
- An agreement that includes Map Studio, the Tile API and the Data API.
- A publishable key (
pk_…) with thestudio-embeddedscope, from Organization → API keys in the Mountaya app. It carriestilesanddatatoo. - A session token for the member who edits. Your server mints it with
surface: "studio-embedded"and the member'suser_id. - Your domain in the allowed list, under Organization → Security. Mountaya keeps that list: tell us each host,
localhost:5173included.
All three run the same rules. A click, your own code and the co-pilot all change the studio by dispatching a verb on one tool bus.
The editor covers drawing and routing itineraries, waypoints, zones, collections and share links. Live collaboration, the AI co-pilot and video export are opt-in. What each member sees follows your agreement and their role.
The demo above wears the brand of a made-up outfitter: every color, corner and typeface is a --mtya-* token. It holds a demo key only, so nothing persists.