| 1 | --- |
| 2 | title: "How to Use a Block" |
| 3 | description: "Learn how to use blocks in Continue Hub to enhance your AI code agent." |
| 4 | --- |
| 5 | |
| 6 | Blocks are used to build custom AI code agents in Continue Hub. Learn more: |
| 7 | |
| 8 | - [Create an agent](/hub/agents/create-an-agent) |
| 9 | - [Edit an agent](/hub/agents/edit-an-agent) |
| 10 | |
| 11 | Some blocks require inputs. If you are missing an input for a block, a notification icon will show up in the sidebar next to the block. Click the notification to select which secret to use for the block input: |
| 12 | |
| 13 |  |