Set up API Access
To configure your Metric Insights instance for API Access, you should create a secret key by the means of which your API client can access the data.
Once you set up API Access you can use most of the API calls. A few calls are unavailable until you set up specific access for them.
Steps 4 and 5 describe what they are and how to enable access for them. In general, this includes access to the user API as well as access to all API calls from external web sites (typically via JavaScript).
1. Access Admin Menu > System > External Applications
- Select [+ New External Application] from list of existing External Applications
- Define the name of an External Application
- Save your entry.
The External Application Editor opens.
2. Define the External Application
- Enable your API
- Click Show Credentials
- The Application ID and Application key are now available to you
3. To enable User API calls
- Set User management access to 'yes'
4. To enable API calls from External Web Sites
- Set Cross Domain Access to 'yes'
- Once this option is enabled, a new dynamic field appears on the page.
- Click [+ New Cross Domain Origin] to add specific web sites that will access the API
For more information see the Overview of Hosting JavaScript charts externally and How to Host your own JavaScript charts