This guide walks you through connecting Nango to Mastra AI using the Composio tool router. By the end, you'll have a working Nango agent that can list all connected crm accounts, trigger manual sync with salesforce provider, get configuration for all available scripts, show provider details for quickbooks integration through natural language commands.
This guide will help you understand how to give your Mastra AI agent real control over a Nango account through Composio's Nango MCP server.
Before we dive in, let's take a quick look at the key ideas and tools involved.








