Skip to main content
By the end of this tutorial the agent in Cursor or VS Code can search the SmartAlex docs while it writes code. It takes about a minute, from any docs page.
You need: Cursor or VS Code installed on this computer, with its AI chat turned on. You do not need a SmartAlex account.

Steps

1

Open the page menu

On any SmartAlex docs page, click the arrow beside Copy page, at the top of the page next to the title.
2

Pick your editor

Click Connect to Cursor or Connect to VS Code. Your browser asks to open the editor; allow it.
3

Confirm in the editor

The editor shows the SmartAlex docs server with its address, https://docs.getsmartalex.com/mcp. Click Install.
Another editor or AI tool on your computer? In the page menu, click Copy MCP install command and run it in a terminal. Or click Copy MCP Server and paste the address where your tool adds a remote MCP server.

Check it worked

Open the editor’s AI chat in agent mode. Ask: “Using the SmartAlex docs, how do I add the SmartAlex voice widget to my Next.js site?” The chat shows a call to search_smart_alex_documentation, and the answer links to docs pages. If the agent answers without searching the docs, ask again and start with “Search the SmartAlex docs”.

Next

Install SmartAlex in Cursor

Let Cursor build agents and run campaigns in your SmartAlex workspace.

Build with SmartAlex

Add SmartAlex to the site or app you are building.
Last modified on November 27, 2026