Quickstart
Mount the Mountaya editor in a Vite and React app. You need the prerequisites: an agreement, a key with the studio-embedded scope, and your domain allowed.
The packages are not on npm yet
1
Install the packages
2
Mint the token on your server
The studio acts as one of your members. Add a route behind your own sign-in that mints a token for them.
Response
3
Mount the studio
Replace src/main.tsx. In development, proxy /api to your server with Vite's server.proxy.
Set VITE_MOUNTAYA_PUBLISHABLE_KEY in .env.local, run npm run dev, and the editor fills the page. Pass itineraryId to the host to open one itinerary.