> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

> Instance is the open-source ManyChat alternative for AI sales agents: Instagram DM automation, shared inbox, and CRM you actually own.

# Welcome to Instance

Instance turns every Instagram comment, Story mention, and DM into a real sales conversation. AI handles the replies, qualifies leads, and books calls while your team stays in control, all on your own server.

Most automation platforms charge recurring monthly fees that go up as your audience grows ($15 to $1,000+ a month) and lock your flows, chat history, and leads behind a subscription. Instance gives you the entire automation engine, AI sales inbox, and CRM in software you own, with zero software subscription fees and no contact limits.

***

## Why Instance?

| Feature | Closed SaaS (ManyChat, etc.) | Instance |
| :- | :- | :- |
| **Monthly Software Cost** | Scales up as contacts increase ($15 to $1,000+/mo) | \$0 (Self-hosted on your own server) |
| **Contact Limits** | Tier pricing based on audience size | Unlimited contacts in your own database |
| **AI Sales Agents** | Basic keyword trees or costly add-ons | Full AI sales agents with custom prompts, objection playbooks, booking, and payments |
| **Data Privacy and Ownership** | Stored on third-party servers | 100% owned by you with encrypted API keys |
| **Instagram Safety** | Hidden rate limits | Official Meta APIs, smart pacing, automatic human takeover pauses, and spam hiding |
| **Integrations** | Limited webhooks | Full REST API and native `instance-mcp` server |

***

## What Is Inside

Instance is organized into a few focused apps and packages:

* **Web Dashboard (`apps/web`)**: The Next.js dashboard where your team runs Sales Chat, builds visual DM flows, manages the CRM and Kanban board, schedules posts, builds Bio Link pages, and checks analytics.
* **API Server (`apps/api`)**: The NestJS backend that powers the dashboard, the public REST API, outbound webhooks, and incoming Instagram updates from Meta.
* **Background Workers (`apps/workers`)**: Handles sending DMs, replying to comments, scoring profiles, and publishing scheduled posts in the background so your dashboard stays fast.
* **AI Connectors (`packages/ai-connectors`)**: Connects your own AI provider keys (plus custom models) with automatic backup if one provider slows down.
* **Email Connectors (`packages/email-connectors`)**: Syncs captured leads to Klaviyo, Mailchimp, Kit, Flodesk, and ActiveCampaign.
* **MCP Server (`packages/mcp`)**: The `instance-mcp` server so Claude Desktop, Cursor, Windsurf, and Claude Code can work directly with your Instance workspace.
* **Database and Queues (`packages/prisma`)**: PostgreSQL (with Prisma) stores your leads, chats, and flows, while Redis keeps queues and rate limits running smoothly.

***

## Next Steps

* Ready to run locally? Follow the [Installation](/docs/installation.md) guide.
* Prefer containers? Jump straight to [Docker Setup](/docs/docker.md).
* Ready to connect Instagram? Follow [Instagram Setup](/docs/instagram-setup.md) and [Meta App Review](/docs/meta-app-review.md).
* Want to explore features? Start with [AI Sales Chat](/docs/features/sales-chat.md) or [Automations](/docs/features/automations.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.