Teneo Developers

Convert a Composer bot

Store API key

You may have noticed that the integration script references an API key. This is the API key you need to access the OpenWeather Weather API. We need to store this key within the solution in order to be able to access the API.

Log in to your free Weather API subscription and access your API key by clicking on your username followed by 'My API keys'. Copy the key to your clipboard.

  1. In Teneo, in the solution backstage, click on Globals, followed by Variables.
  2. Click on Add to create a new variable and give it the name APIKey.
  3. Paste in the API key in the Value field. As this will be treated as a string, make sure to enclose the value within single or double quotation marks.
  4. Hit 'Save'.

Next page
Finish flow
Was this page helpful?