---
title: Connect apps with TMS
project: FlowOS
version: 1.0
section: guides
language: es
translation: missing
license: Total.js Enterprise
url: https://totaljs.es/docs/es/flowos/1-0/guides/tms-sources/
updated: 2026-11-20T18:59:31.073Z
---

# Connect apps with TMS

> Receive events from Total.js apps and send events to them.

Total.js Message Service (TMS) lets Total.js apps publish events and accept events from other apps. When you add an app as a TMS source, its events appear in FlowOS as components.

## Before you start

The app must have TMS turned on. You need:

- the address of its TMS endpoint, for example `https://app.example.com/$tms/`;
- its TMS token, if it has one.

For OpenPlatform, see [Total.js Message Service](/openplatform/5/guides/tms-setting/) in the OpenPlatform documentation.

## Add a source

1. Select **Add** (plus), then **TMS sources**.
2. Select **Add source**.
3. Enter the address in **TMS endpoint**.
4. Enter the token in **Token**, or leave it empty if the app has none.
5. Select **SUBMIT**.

![The Add source window with the TMS endpoint and Token fields](/files/JasqMM2IH61f.webp)

The source appears in the **TMS sources** list with a dot: green when FlowOS is connected to the app, red when it is not.

## The new components

The components of the app appear in two groups on the left. Each one shows the name of the app.

![The Publish group with orders_status and the Subscribe group with orders_create](/files/JasqMN2JH60f.webp)

| Group | What the component does |
|---|---|
| **Subscribe** | Sends a message into your flow each time the app publishes this event. It has an **Output**. |
| **Publish** | Sends the data it receives to the app. It has an **Input**. |

Drag them onto the canvas, connect them and select **APPLY**. For a full example, see [React to events from a Total.js app](../../recipes/app-events/).

## Change or remove a source

Open **TMS sources** and use the pencil to change a source or the trash icon to remove it.

The token is saved in `databases/flow.json` and in the file that **Download design** creates.
