Quick Start Guide
Get productive with X21 in minutes. This walkthrough assumes X21 is installed and the backend services are running (see Installation if you still need to set that up).1. Open the Copilot Task Pane
- Launch Excel and create or open a workbook.
- Navigate to the X21 ribbon and click Open Copilot. The WebView2 task pane loads the React UI.
- Confirm the status indicator shows Connected. If not, click Reconnect to re-establish the WebSocket connection to the local Deno server.
2. Sign In
- Use the Supabase-powered login form in the pane. You can authenticate with email + magic link or SSO if configured.
- After authentication, X21 stores the refreshed session token in WebView local storage. The backend immediately requests your email via
user:email_requestand caches it for Langfuse traces.
3. Select Your Workbook Context
- X21 automatically reads the active workbook name, selected range, sheet list, and used range through the VSTO
ExcelSelectionservice. - If you want to focus on a specific area, select the relevant cells before prompting. The metadata is sent with each request so Claude can tailor its reasoning.
4. Send Your First Prompt
Enter a natural language request such as:read_values, read_format, and write_values). Attach supporting PDFs or images if needed; the UI will encode them as base64 and the backend will inject them into the Claude conversation as document or image blocks.
Click Send. The UI:
- Opens a WebSocket (
stream:start). - Streams Claude’s response (
stream:delta) as it arrives. - Emits
tool:permissionevents whenever the LLM proposes a tool call.
5. Review and Approve Tool Calls
- Incoming tool requests appear in the Pending Actions list with a summary, arguments, and the target range.
- Use View to stage the change via
tool:view, which runs the tool and applies results to Excel without committing them. - Choose Approve to commit the change, Reject to send feedback, or Revert to undo a previously applied tool (
tool:revert). - Enable Auto-approve if you trust the tools, or click Approve All for batch approvals. The UI automatically sends grouped responses with
tool:permission:response.
6. Inspect Results
- Approved tool executions update the worksheet in place. X21 stores both old and new values (
write_valuesreturns before/after snapshots) so you can roll back if necessary. - Claude continues the conversation after each approval, referencing intermediate results.
- Provide a thumbs up/down or leave feedback; the backend forwards it to Langfuse via
score:scoreandscore:feedback.
Next Explorations
- Learn more about available tools in Excel Operations.
- Understand how conversations are managed in AI Capabilities.
- Review the Troubleshooting guide if you encounter connectivity issues.

