Getting started
To install API Agent, download and install the Visual Studio Code plug-in. Then, you can log in to API Agent in Visual Studio Code using the URL for API Connect.
Before you begin
Ensure that the following tools are installed on your system:
- Visual Studio Code (VS Code)
- Homebrew
- Python
- PostgresSQL
Installing API Agent
To download the Visual Studio Code plug-in for API Agent, complete the
following steps:
- Log in to API Manager.
- On the API Manager home page, click Tools for download in the More section.
- In the Tools for download window, click the API Agent tab.
- Click Download next to the Step 1: Download Visual Studio Code
plug-in for API Agent.Note: Downloading the
.vsix
file might take a few minutes. - Open Visual Studio Code.
- In the left panel, open Extensions.
- Click the Views and More Actions icon (...), and select
Install from VSIX.
- Navigate to the folder where you downloaded the plug-in, and select the
api-assistant-vscode-plugin-0.0.1-<build_number>.vsix
file, and then click Install. You can view the API
Agent icon on the left panel.
- To upgrade the API Agent plug-in, repeat
steps 1-8 and install the latest .vsix file.Note: Ensure that the .vsix file is the latest version.
Logging in to API Agent
To log in to API Agent, complete the following steps:
- Open Visual Studio Code.
- Click the API Agent icon.
- In the HOST URL field, enter the following URL and then click
Log in:
https://api-manager.us-east-a.apiconnect.automation.ibm.com
- Click Allow to sign in and then select Open when prompted.
- On the browser, if you are not automatically redirected, select use this link and then in the Visual Studio Code, click Open.
- Select a Provider organization, and click Continue.
-
Create a new folder in your system such as api-assistant-workspace. From the menu in Visual Studio Code, click to open the folder. It automatically creates a workspace within that folder.
- To start a new chat session or to logout, click the IBM API Agent menu
and select one of the following options:
- Starts a new chat session. In this public preview, previous chat sessions are not accessible. For more details, see Limitations.
- Logout
- Logout from API Agent.
- To view the host URL and organization information, in the upper-right corner of the screen,
select your organization, for example,
. In this public preview, you can only view the host URL and organization information in the Settings section. You cannot edit.