Add Mountaya to your MapLibre map
Your app already draws a MapLibre GL JS map. In this tutorial it gets Mountaya's outdoor base map, 3D relief, and the hillshade overlay, with a button to switch it on and off.

You need a publishable key with the tiles scope, from Organization → API keys in the Mountaya app. The Tile API comes with an agreement, which also lists the overlays your organization may draw.
No MapLibre app yet? Start one:
1
The layer catalog lists the base maps, the elevation source, and the overlays your organization may draw.
Overlays come in groups. Your organization's list may hold more, such as steepness or the weather forecasts.
2
Point your map's style at a Mountaya terrain, and add your key to every request the map makes to the Tile API. The map fetches its tiles, icons and fonts on its own and cannot send headers, so the key rides in each address instead.
Keep your own options as they are: only style and transformRequest change.
3
Once the style has loaded, add the elevation source from the catalog and drape the map over it.
Leave this step out for a flat map.
4
Each overlay has a specification: the sources and layers to add, styled already. Fetch it with your key, then add what it lists.
Call it once the style has loaded, as the next step does. Hillshade is a raster-dem source with one hillshade layer, drawn from zoom 8 up.
5
Draw the overlay once the style has loaded. Its layers are ordinary layers, so a button toggles their visibility.
Add <button id="hillshade-toggle">Hide hillshade</button> beside the map's container, as the whole page below does. Readers can then compare the map with and without relief shading.
Both files, as the steps build them. Start the app with npm run dev.