(Optional) Setting the API Credentials Inside the Code Instead of Dashboard Tokens
Setting API credentials in dashboard tokens may be a concern for some environments since there's no easy method for hiding those tokens. In those situations, you have the option of embedding the credentials directly in the selector widget's source code.
To do so:
1. Edit the widget by clicking its down-chevron and choosing Configure. You'll find that it's just a standard Text widget containing some HTML and quite a bit of JavaScript.
2. Click the Source button on the text editor's toolbar.
3. Scrolll down a bit until you get to the section specifying defining the 'apiID' and 'apiKey' variables. Enter your ID and key inside the quotes of the respective variables, then click Save & Close at the bottom of the dialog.