Follow the instructions to create and set up a cloud account in watsonx.ai.
Before you begin
- You need an IBM cloud account to start using the capabilities of watsonx.ai in the AI Output
Assistant feature in SPSS® Statistics.
- Turn off your VPN during the sign-up process to avoid any errors.
About this task
Complete the procedure to get started.
Note: The procedure that is mentioned in this topic is the same that you see in the local HTML page
when you click Sign-up Assistant in the watsonx.ai
Account dialog box.
Procedure
Register for IBM Cloud account
-
Go to https://cloud.ibm.com/registration
https://cloud.ibm.com/registration to create an account.
Follow the instructions that you see on the screen and complete the registration. For detailed
information, see
Signing up for IBM watsonx
Create API key
- Go to API
Keys and create an API key.
- Click Create.
- Enter the name and description of the API key. For example, you can provide the name
watsonx-api-key and add a description as API key for watsonx.ai
access.
- Click Create.
- Copy the newly generated API key.
Remember: Store the API key securely. You can view or copy the API key only once.
Set up your project
- Go to Projects in your watsonx.ai account and then
configure a project.
After you register your account in IBM cloud, a default sandbox
project is created in the account. If you are a beginner, you can use this sandbox project.
Alternatively, you can also create a new project for organized workflows. To create a project, click
New Project.
- Click your project name. The configuration page for the project opens. Click
Manage tab.
- Click General from the left pane. From the Details section, copy your
project ID.
Associate watsonx.ai service
- Associate watsonx.ai service to your project (if not done already) and choose an appropriate plan.
- In the Manage tab of your project, click Services &
integrations from the left pane.
- In the list of IBM services, check if watsonx.ai is added. If not, click
Asscoiate service.
- Select watsonx.ai.
- Choose your plan.
- Lite plan is free and offers 25000 tokens per month
- Standard plan is a paid option with higher token limits
If you select the standard plan, make sure you already updated your payment details in your
account.
- Click Create and then click Associate to
complete.
Verify your connection
- Check whether the connection is established between SPSS Statistics instance
and watsonx.ai.
- In your Project window, click Assets tab.
- Click New Asset and select Chat and build prompts with
foundation models.
- Your Prompt lab opens and you can view the list of available foundation models in the
Model menu.
- Open AI Output Assistant in SPSS Statistics and click
Change model. You can view the same list of foundation models.
Update your account details in SPSS Statistics
- Copy and paste your API key and Project ID to AI Output Assistant in SPSS Statistics
- Go to AI Output Assistant dialog box.
- Click Edit account. The dialog box for watsonx.ai
Account opens.
- Paste the API key and Project ID in API Key field and Project ID field.
- Click OK.
What to do next
You are ready to use the AI Output Assistant feature in SPSS Statistics.