The environment switcher in the VS Code extension provides an easy way to manage and switch between environments that are used with Orchestrate. Environments represent clusters or servers where Orchestrate is available. In SaaS deployments, an environment corresponds to an instance that runs in AWS or IBM Cloud. For on-premises setups, an environment refers to a CPD cluster. These options represent the full range of environments that you can select. The extension removes the need to memorize ADK commands for creating or activating environments. Instead, you can add or change environments through a dropdown in the editor. When you select a new environment, all ADK commands automatically point to that environment. All operations align with the active environment.Documentation Index
Fetch the complete documentation index at: https://developer.watson-orchestrate.ibm.com/llms.txt
Use this file to discover all available pages before exploring further.

Add an Orchestrate instance
Prerequisites
To setup the enviroment switcher, you must have the following prerequisites:- You must install the Orchestrate copilot VS Code extension. For more information, see Installing Orchestrate copilot VS Code extension
Adding an Orchestrate instance
- In VS Code, click the Orchestrate icon
on the left menu bar. - Click Add +.
- In Name, type the name of the instance.
- In URL, paste the
WO_INSTANCE. - Click Submit.
- In the Environment drop-down, select your instance.
- Copy the
WO_API_KEY. - Click Activate.
- Paste the
WO_API_KEYin the top search bar and press Enter. - Your embedded web chat is now active.
Downloading the agent definition
- Go to Explorer > Agents.
- Click AskOrchestrate.
- The definition of your agent downloads as a .yaml file.
Activating your local environment
Configure the .env file
- You must configure the .env file procedure. For more information, see Configuring .env file.
Create the .env file for your VS Code project
- You must create the .env file of your VS Code project. For more information, see Add an Orchestrate instance.

