About licensing for JS and REST services

Discussion created by pdprog on Sep 6, 2013
Latest reply on Sep 7, 2013 by stevel
Over the last few months, I've been working on integrating ArcGIS maps into my app using the JavaScript API. I'm about to publish the app, and decided to make it legal.  My understanding is that I needed to have an ArcGISOnline account and some credits to be legal. I will also begin using the REST API this week, which costs credits.

My question is: what, if anything do I need to change in my code now that I have an account?  I'm currently using the following URLs to access the API:

I gotta' figure that something should change, otherwise how would anyone even know I'm accessing the API legally?