| 1 | --- |
| 2 | title: "How to Use an Agent" |
| 3 | description: "Learn how to add, configure, and use an AI agent in Continue, including setting required inputs and selecting it in your IDE extension." |
| 4 | --- |
| 5 | |
| 6 | ## Steps to Use an AI Agent in Continue |
| 7 | |
| 8 | Once you've found the agent you want to use on Continue Hub: |
| 9 | |
| 10 | 1. Click “Add Agent” on its page |
| 11 | 2. Add any required inputs (e.g. secrets like API keys) |
| 12 | 3. Select “Save changes” in agent sidebar on the right hand side |
| 13 | |
| 14 | After saving, open your IDE extension and: |
| 15 | |
| 16 | - Select the agent from the **agent dropdown** in the Continue extension. |
| 17 | - Begin using it for chat, code generation, or other configured capabilities. |
| 18 | |
| 19 |  |