Settings

Database

Run your organisation on a dedicated MongoDB and Redis

The Database page (Database Isolation) shows where your data lives and lets you move it to a MongoDB and Redis that you run. Dedicated infrastructure needs the Pro or Enterprise plan, and only Owners and Admins can change it. Other members see the page in View Only mode. On a plan below Pro the page shows an upgrade offer (Upgrade to Pro) instead of the connection.

Database settings page

Overview

By default your organisation runs on the shared Wexio infrastructure. The page shows each service with its status:

StatusMeaning
SharedThe organisation uses the shared platform
ConnectedA dedicated instance is set up and healthy. The page shows its latency
DisconnectedA dedicated instance is set up but unreachable. Check the connection string and network access

MongoDB Database holds your chats, messages, contacts, flows and settings. Redis Cache handles caching and real-time features. Click Refresh to check the health again.

Connect a Dedicated Database

  1. Go to Settings → Database and click Connect.
  2. Choose a Migration Mode.
  3. Enter the MongoDB Connection URI.
  4. Optionally enter a Redis Connection URL. Leave it empty to keep the shared Redis.
  5. Choose what happens to your data in the shared database under After Migration.
  6. Click Connect Database.
The Connect Dedicated Database dialog with the MongoDB Connection URI, the optional Redis Connection URL, Migration Mode and After Migration options
Migration modeWhat it does
Migrate All DataCopies everything: chats, messages, contacts, flows and settings. Default
Fresh StartCopies only system settings such as labels, fields and AI assistants. Operational data stays in the shared database
After migrationWhat it does
Delete from Shared DatabaseRemoves your data from the shared database. Recommended for full isolation. Default
Keep in Shared DatabaseLeaves a copy there as a backup

With Delete from Shared Database, the data is gone from the shared database once the migration ends. Check that your connection is reliable first.

When the migration ends you see Database configured successfully and Migrated {count} documents in {duration}s. The connection string is never shown again after you submit it. To add Redis later, click Connect Redis. To change a connection string, click Edit connection. Leave a field empty to keep the current value. Nothing is copied or deleted, so the data must already be at the new address.

Data Collections

The page lists your data by collection, in two groups: System / Config (settings that define your workspace) and Operational Data (data created by daily use, such as conversations, chats, messages, people, flows and media). Each row shows the number of documents and whether the collection is Accessible or in Error.

A conversation is the inbox row for a contact. It holds one chat per channel thread. Both live on your own database once you have one.

Move Back to Shared

  1. Go to Settings → Database and click Disconnect.
  2. In Disconnect Dedicated Infrastructure, under Data Migration, choose Migrate Data Back or Skip Migration.
  3. Under Dedicated Database Data, choose Delete from Dedicated Database or Keep in Dedicated Database.
  4. Click Disconnect. You see Reverted to shared database and Migrated {count} documents back.

If the dedicated database is unreachable, it is disconnected as it is. Its data stays where it is, and the organisation starts over on the shared database.

Was this page helpful?

On this page