# IBM Watsonx.AI Credential Setup

## Step 1 - IBM Access:

* Log into IBM Cloud: <https://cloud.ibm.com/>
* Navigate to the Watsonx.AI interface: <https://cloud.ibm.com/watsonx/overview>

<figure><img src="/files/lPyyKg2f8dN2E4OQza3y" alt="" width="354"><figcaption></figcaption></figure>

* Click Getting Started to create an environment, or "Launch" if one exists already

<figure><img src="/files/Ms7AoZ9eDFhcudPHVQS4" alt=""><figcaption></figcaption></figure>

## Getting your Watsonx.AI Project ID

* First, we must retrieve your PROJECT ID. Click on the navigation and go to 'View all Projects'

<figure><img src="/files/cceoNRfl6jOT2TeKAO0M" alt="" width="383"><figcaption></figcaption></figure>

* Create and or Select your Project that you will be working out of. A project should be considered a workload or outcome specific object.

  * Click on the "Manage" tab
  * :exclamation::exclamation:WRITE DOWN the Project ID! :exclamation::exclamation: We will need this later.

  <figure><img src="/files/yuWpo1zycBbFRiZxDERu" alt=""><figcaption></figcaption></figure>

## Getting your IBM Watsonx.ai API key

* Now we need to get your API KeyOpen the navigation menu in the top left corner and process to Access (IAM)

<figure><img src="/files/yBuJcUbQjnc43xn8EiMB" alt="" width="311"><figcaption></figcaption></figure>

* Once on the IAM Page, within the navigation click on API Keys

<figure><img src="/files/y6m5AGzgDyUxB2XIu0Kl" alt="" width="386"><figcaption></figcaption></figure>

* Click on 'Create' to generate an API Key

<figure><img src="/files/F7iFmQClcPva6dIuI9gi" alt=""><figcaption></figcaption></figure>

* Configure your key, the Session Creation option can be left as "No"

<figure><img src="/files/RFUTRu3hjQ3CzSCN73dj" alt="" width="563"><figcaption></figcaption></figure>

* Copy your API key and proceed to Tailwinds!

<figure><img src="/files/D1PTl7JROnmTWh7Ch5DD" alt=""><figcaption></figcaption></figure>

## Step 2 - Tailwinds Setup:

* Within Tailwinds, add a new Credential for IBM Watsonx:

<figure><img src="/files/ru4ztRyIqXXb3Y2Phx8i" alt=""><figcaption></figcaption></figure>

* Update the fields with the Project ID and API Key you retrieved in Step 1.

<figure><img src="/files/oSfqlbKOvFRZwtLNrcEm" alt="" width="470"><figcaption></figcaption></figure>

## Step 3 - Using Watsonx.AI in Tailwinds:

* Once credentials are set, you can now use Watsonx.AI from within Tailwinds!
  * Within the Components, find and use the ChatIBMWatsonx node and assign your credentials to it.

<figure><img src="/files/VN083a3SAtkbXmsEFqJC" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://tailwindsdocs.innovativesol.com/readme/credentials/ibm-watsonx.ai-credential-setup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
