I want to switch to esri-leaflet and have a developer account at ArcGIS for Developers.
I want to upgrade my account to a paid one, before distributing the app.
I was using Mapbox so far and had to pass my API key before creating a basemap.
My question is how do I do that with esri JS-API? I could't find any resources on this topic.
I'm able to create a map with L.esri.basemapLayer("Streets").addTo(map); and it works perfectly. Why don't I need to pass my credentials so I can be charged for the use?
Thanks in advance