---
title: "Integrating AI in Cloud IDE"
date: "2026-04-24T08:51:39+00:00"
summary:
image:
type: "page"
url: "/acquia-cloud-platform/add-ons/cloud-ide/integrating-ai-cloud-ide"
id: "86911d43-8b2d-4c9e-bab7-a0ab91627d00"
---

Integrate Artificial Intelligence (AI) directly into Cloud IDE to enhance the development workflow. The IDE supports several leading AI providers to assist with code generation, debugging, and chat-based assistance.

Supported Providers
-------------------

Cloud IDE currently supports the following AI providers:

*   GitHub Copilot
    
*   Anthropic
    
*   Google Gemini
    
*   OpenAI-Custom Large Language Model (LLM) Gateway
    

Enabling AI Features
--------------------

To use AI in the IDE, you must first enable the feature:

1.  In the bottom-left corner of the IDE, click ****Settings**** (gear icon).
    
2.  Search for ****AI Features****.
    
3.  Select the ****Enable AI**** checkbox.
    

Configuring AI Providers
------------------------

### GitHub Copilot

1.  In the bottom-right corner of the IDE, select ****Sign in to GitHub Copilot****. 
    
    The system displays a dialog box with a device code.
    
2.  Select the provided link to open the GitHub authorization page.
    
3.  Enter the code, authorize the application, and return to the IDE.
    
4.  Select ****I have authorized****. 
    
    The status bar displays the GitHub username after authentication.
    

Note

Cloud IDE supports personal GitHub Copilot subscriptions only. Cloud IDE does not support organization-managed subscriptions.

### Anthropic

1.  Obtain an API key from your Anthropic account.
    
2.  In the IDE, navigate to ****Settings > AI Features > Anthropic****.
    
3.  Enter your ****Anthropic API Key****.
    

### Google Gemini

1.  Obtain a Google API key.
    
2.  In the IDE, navigate to ****Settings > AI Features > Google****.
    
3.  Enter your ****Google API Key****.
    

### OpenAI-Custom LLM Gateway

This procedure applies to all custom Large Language Model (LLM) gateways.

1.  Open your settings.json file in the IDE.
2.  Add your configuration using the following format:

    "ai-features.openAiCustom.customOpenAiModels": [
       {
         "id": "acquia-claude-main",
         "model": "anthropic.claude-sonnet-4-6",
         "url": "https://customLLMURL/",
         "apiKey": "YOUR_API_KEY",
         "enableStreaming": true
       }
    ]

Note

Acquia does not support custom LiteLLM gateway.

Configuring the Chat Agent
--------------------------

After the provider keys are configured, you must set up a Chat Agent to interact with the models:

1.  Navigate to ****Settings**** > ****AI Features**** > ****Agent Setting****.
    
2.  Select ****AI configuration view****. The system opens a new dialog box.
    
3.  Select a ****Chat Agent****. Acquia recommends the ****Coder**** agent.
    
4.  Select the preferred model from the list. Providers prefix the models, such as `copilot/`, `anthropic/`, or `google/`.
    

### Adding Manual Models

If a specific model does not appear in the list:

*   ****Override****: Use the ****Model Override**** feature to enter the model name.
    
*   ****Add****: Type the model name and select the **+** icon.
    

Interacting with AI Chat
------------------------

Once your agent is configured, you can begin chatting with the AI:

1.  In the top menu bar, select ****View****.
    
2.  Click ****AI Chat****.
    
    The AI Chat dialog box opens in the right sidebar.
    
3.  Submit prompts to receive code assistance based on the configured agent.
    

Important

Acquia provides assistance to configure AI in Cloud IDE. Acquia is not responsible for the responses that AI generates after configuration. The AI agent configuration of the customer determines the responses.

Bring Your Own AI (BYOAI)
-------------------------

The BYOAI feature helps to integrate preferred AI agents, such as Claude or Gemini, directly into Cloud IDE. Link the AI agent with Acquia Skills to automate routine development tasks through natural language prompts.

### Install the AI Agent

To use an external agent, install the Command-Line Tool (CLI) and provide the API key. 

For example, to install the Gemini CLI:

1.  Open the IDE terminal.
    
2.  Run the following command: `npm install -g @google/gemini-cli`
    
3.  Enter the ****Gemini AI Key**** when prompted.
    

### Add Acquia Skills

After the agent is installed, integrate Acquia-specific capabilities:

In the IDE terminal, run: `npx skills add acquia/acquia-skills`

#### Automate tasks with prompts

Instruct the agent to perform specific tasks by referencing these skills. For example, to update a Drupal application, enter a prompt such as refer to skills and update the package using composer.

The agent uses the Acquia Skills library to execute the correct commands in the environment.