DEV Community

Alain Airom
Alain Airom

Posted on

Creating an IBM Cloud API Key for watsonx.ai

Image description

Introduction

When you work in watsonx.ai environment on IBM Cloud, one day or another the question of having your API Key comes up.

The following steps describe how create an API Key (for watsonx.ai or other usage generally speaking).

Steps to create the API Key

  • Access your IBM watsonx instance in SaaS mode (IBM Cloud).

Image description

  • On the top left corner of the screen click on the burger menu (when you hover, you’ll see the ‘Navigation Menu’ label).

Image description

Image description

  • Expand the menu and select IAM.

Image description

  • You’ll have access to the API Keys list and creation page. Hit the blue “Create” button.

Image description

  • Give a name and description to the API Key and hit “Create” again.

Image description

  • Once your API key is created, you can either copy/paste it to a secure note or download it as a JSON file.

Image description

Note: once an API Key is created, you cannot access the copy/paste or download functionalities again! If you didn’t do it in the previous step and if you’ve lost your API Key you’ll need to create a new one again.

Conclusion

Creating API Keys on IBM Cloud is easy and straightforward 😉

Top comments (0)