For AI agents: Find a documentation index at https://talkjs.com/llms.txt (full content at https://talkjs.com/llms-full.txt). Get a markdown version of any page by appending .md to its URL path.
Skip to content

On-premise chat

Fully featured on-premise chat

The TalkJS chat API lets you build chat on your own servers, giving you full control over messaging data. Keep chat infrastructure within your own environment while delivering secure, real-time messaging inside your product.

What is TalkJS on-premise?

TalkJS on-premise is the same chat server we run ourselves, installed on servers you control: in your own data center or in a private cloud. It ships as Docker images, so it runs on whichever modern Linux distribution your admins already use, and it keeps your chat data in your own PostgreSQL database. We keep the software up to current security standards. You configure the server it runs on, and you maintain and back up the database.

Your appTalkJS chat UI
TalkJS chat serverDocker images on Linux
Failover serverSame images, takes over
PostgreSQLYour chat data
Your serversOwn data center or private cloud
Your app connects to the TalkJS chat server. Both servers use your PostgreSQL database.

It's for teams whose security reviews or data rules won't let chat data sit in a vendor's cloud. Self-hosting chat shouldn't mean writing your own chat backend, and with TalkJS it doesn't: you run ours, the one that sends 130M+ messages a month for our customers. On-premise and private cloud installs are an add-on to the Enterprise plan. See the pricing page or contact sales.

Block inappropriate words

Filter offensive or unwanted language to keep conversations respectful and safe.

Monitor specific conversations

Track individual chats in real time to keep discussions on topic and within guidelines.

Analyze user data within timeframes

Review chat activity over specific periods to understand engagement patterns and growth.

What you can build with TalkJS

Build any chat use case into your product with just a few lines of code. Frontend UI SDK and out-of-the-box notifications included.

Direct messaging

Connect any two users in your product with private 1-on-1 conversations.

Group chat and chat rooms

Let multiple users communicate in shared conversations for collaboration or discussion.

Chat for livestreams

Enable real-time chat for large audiences during live events and broadcasts.

In-app customer support chat

Let users message your support team inside your product, async or in real time.

# dev
18 members
egbert
egbert9:12 AM

Heads up: we’re seeing a spike in 429s on the REST API. Not huge, but it started after yesterday’s deploy.

steven
steven9:14 AM

Is it one endpoint or spread out? I can pull a breakdown by route + tenant.

egbert
egbert9:17 AM

Could be the new webhook delivery change causing clients to re-send when they don’t get a fast 200.

carl
carl9:18 AM

Do we have request IDs we can surface in the dashboard logs? Would make support triage way faster.

steven
steven9:20 AM

Yeah. We can thread a requestId through gateway → app → worker and include it in the webhook payload too.

Message # dev

Core capabilities

These core capabilities outline how TalkJS is deployed, operated, and maintained, giving you a clear view of the infrastructure, reliability, and operational requirements.

High availability and failover

The TalkJS on-premise deployment matches the version we run on our own infrastructure. A single app server with failover support is sufficient, as each TalkJS server is built to handle many concurrent users, conversations, and messages.

Software updates

TalkJS software updates are designed to be seamless and easy to manage. Updates are delivered via new Docker images published to Docker Hub, with ongoing updates and bug fixes included in the Enterprise on-premise package.

Database

TalkJS stores all chat data in a Postgres database. If your application already uses Postgres, we recommend running TalkJS on a separate, dedicated database to ensure isolation, performance, and operational clarity.

Hardware requirements

Hardware requirements vary based on your use case and expected traffic. If you are unsure which hardware to provision, our solutions engineers can help you determine the right setup for your needs.

Where can TalkJS run?

Pick the one that fits your security and data rules. All three are Enterprise plan add-ons.

On-premise

TalkJS runs on servers in your own data center.

Private cloud

TalkJS runs in a private cloud you control, not on our servers.

Private dedicated servers

Your chat gets servers of its own, not shared with other TalkJS customers.

FAQs

Talk to our sales team about the on-premise add-on, and our solutions engineers will help you size the hardware. You set up a PostgreSQL database and run our Docker images on a Linux server with a failover. We stay with you through the install.

Yes. Every plan includes a free development mode, so you can sign up and build your chat on TalkJS cloud while you work out the on-premise details with sales. It's the same chat server you'll install.

Yes, if you use the TalkJS React components or Web Components. From Components SDK 0.3.15, setDependencyUrls serves the emoji picker, emoji data and other runtime files from URLs you choose, and disableFontLoading stops TalkJS from loading fonts. The self-hosting dependencies guide lists every default URL.

The Basic usage section of the TalkJS self-hosting dependencies guide: a setDependencyUrls call that points the emoji picker library, an audio encoder, emoji data and emoji picker translations at example URLs on your own CDN.
From the self-hosting dependencies guide: one setDependencyUrls call, made before any TalkJS UI component mounts, points each runtime file at your own server.