1. Gather Sanity Project ID, Dataset name, Sanity API read token, and LLM API key.
2. Determine if Studio setup is complete; if not, configure the context plugin and create agent context documents.
3. Choose the appropriate Context MCP URL based on content access requirements.
4. Connect the agent to the Context MCP URL using a Bearer token.
5. Implement the core setup, including MCP connection, authentication, and a basic chat route.
6. Create a system prompt with domain-specific instructions for the agent.
7. (Optional) Implement the frontend for user interaction.