๐ŸŽ‰ Black Friday: 40% off Pro Yearly with code PRO40. Check the full offer here

๐ŸŽ‰ Black Friday: 40% off Pro Yearly with code PRO40. Check the full offer here

๐ŸŽ‰ Black Friday: 40% off Pro Yearly with code PRO40. Check the full offer here

INDUSTRIES

Automotive

Aviation

Finance

Gaming

MedTech

IoT

Digital Products

USE CASES

For Enterprise

For Individuals

For Teams

For education

ProtoPie Feature

Hardware & System Integration

ProtoPie MCP

Multi-Device Prototyping

Interaction Logic

Developer Handoff

ProtoPie AI

User Testing

FAMILY PRODUCTS

Connect Omni

STUDIO PLUGINS

Figma

Sketch

Adobe XD

INSIGHTS & INSPIRATION

Blog

eBooks

Clients Success Stories

Events & Webinars

ProtoPie Gallery

PRODUCT LEARNING & SUPPORT

ProtoPie School

Download ProtoPie

Product Documentation

Community

INDUSTRIES

Automotive

Aviation

Finance

Gaming

MedTech

IoT

Digital Products

USE CASES

For Enterprise

For Individuals

For Teams

For education

ProtoPie Feature

Hardware & System Integration

ProtoPie MCP

Multi-Device Prototyping

Interaction Logic

Developer Handoff

ProtoPie AI

User Testing

FAMILY PRODUCTS

Connect Omni

STUDIO PLUGINS

Figma

Sketch

Adobe XD

INSIGHTS & INSPIRATION

Blog

eBooks

Clients Success Stories

Events & Webinars

ProtoPie Gallery

PRODUCT LEARNING & SUPPORT

ProtoPie School

Download ProtoPie

Product Documentation

Community

Menu


Connect Omni Quickstart: Connect a Dashboard and a Simulator

In this guide, you connect two AI-built apps: a smart home web dashboard and a Python simulator. When you change the temperature on the dashboard, the simulator receives the request and sends the updated temperature back. The same steps work for any two apps.

Before you begin

Check

Why it matters

You can sign in at your organizationโ€™s Connect Omni address, for example yourcompany.connectomni.io

Connect Omni accounts are separate from ProtoPie Cloud

Youโ€™re an Editor in at least one team

Editors can create Stages and Adapter Keys

You have a web dashboard and a Python simulator, or an AI coding tool to create them

Youโ€™ll connect both apps to the same Stage and check their messages

Your apps can reach the Stage server

Firewalls or local network settings can block the connection

If youโ€™re starting from scratch, ask your AI coding tool to create a web dashboard with a temperature control and a display for the confirmed value, plus a Python simulator that receives a temperature request, updates its simulated value, and returns the confirmed temperature. Youโ€™ll connect them in Step 3.

Step 1. Create a Stage

Sign in, choose a team where youโ€™re an Editor, and select + New Stage. Give it a name, for example Smart Home Test.

Step 2. Create an Adapter Key for each app

  1. In the Stage, open Share โ†’ Adapter keys โ†’ Create key.

  2. Create a key named dashboard-dev and copy it right away. The full key is shown only once.

  3. Repeat with a second key named simulator-dev.

  4. Leave Let adapters start a session on if an app should be able to run the Stage without an Editor keeping it open.

  5. Save each key as the CONNECT_TOKEN environment variable for its app.

The key name is just a label for managing credentials. The Adapter Name you set in Step 3 identifies the app in Backstage. These names donโ€™t need to match.

๐Ÿ”’Never paste a key into a public AI chat, a code repository, or a screenshot. If a key leaks, create a new one and revoke the old one.

Step 3. Add the Adapter to each app

You can use an AI coding tool to install and configure the Adapter, or set it up manually.

Set up with an AI coding tool

For any AI coding tool

Share the Connect Omni Adapter AI guide with your AI coding tool. It can use the guide to choose the appropriate Adapter package, install it, and write the connection code.

For example:

Read the Connect Omni Adapter guide:
https://raw.githubusercontent.com/ProtoPie/omni-adapter-ai/main/llms.txt

Connect this project to my Connect Omni Stage.
Choose and install the appropriate Adapter package,
then add the connection code.

Read the Adapter Key from CONNECT_TOKEN.
Never hardcode, print, or commit it

Read the Connect Omni Adapter guide:
https://raw.githubusercontent.com/ProtoPie/omni-adapter-ai/main/llms.txt

Connect this project to my Connect Omni Stage.
Choose and install the appropriate Adapter package,
then add the connection code.

Read the Adapter Key from CONNECT_TOKEN.
Never hardcode, print, or commit it

Read the Connect Omni Adapter guide:
https://raw.githubusercontent.com/ProtoPie/omni-adapter-ai/main/llms.txt

Connect this project to my Connect Omni Stage.
Choose and install the appropriate Adapter package,
then add the connection code.

Read the Adapter Key from CONNECT_TOKEN.
Never hardcode, print, or commit it

Read the Connect Omni Adapter guide:
https://raw.githubusercontent.com/ProtoPie/omni-adapter-ai/main/llms.txt

Connect this project to my Connect Omni Stage.
Choose and install the appropriate Adapter package,
then add the connection code.

Read the Adapter Key from CONNECT_TOKEN.
Never hardcode, print, or commit it

Read the Connect Omni Adapter guide:
https://raw.githubusercontent.com/ProtoPie/omni-adapter-ai/main/llms.txt

Connect this project to my Connect Omni Stage.
Choose and install the appropriate Adapter package,
then add the connection code.

Read the Adapter Key from CONNECT_TOKEN.
Never hardcode, print, or commit it

For Claude Code

You can also install the Connect Omni Adapter Skill directly:

/plugin marketplace add ProtoPie/omni-adapter-ai
/plugin install omni-adapter@studioxid
/plugin marketplace add ProtoPie/omni-adapter-ai
/plugin install omni-adapter@studioxid
/plugin marketplace add ProtoPie/omni-adapter-ai
/plugin install omni-adapter@studioxid
/plugin marketplace add ProtoPie/omni-adapter-ai
/plugin install omni-adapter@studioxid
/plugin marketplace add ProtoPie/omni-adapter-ai
/plugin install omni-adapter@studioxid

The Skill helps Claude Code select the appropriate Adapter and integrate your app with Connect Omni.

Manual setup

Install the Adapter package in each project:

App

Install

Dashboard (TypeScript / JavaScript)

npm install @studioxid/omni-adapter

Simulator (Python)

pip install omni-adapter

The TypeScript package requires Node.js 22 or later for Node.js applications. Python requires version 3.10 or later.

For other supported languages, see Adapters & Messages โ†’ Supported languages.

Connect your dashboard and simulator

This Quickstart uses a Node.js backend to connect the web dashboard to Connect Omni. The Adapter runs on the backend, while the dashboard handles the user interface. Keep the Adapter Key on the backend, never in browser-side code. If your dashboard runs only in a browser and you donโ€™t want a backend, see Showing Apps on the Stage โ†’ Web View for an alternative connection method.

If youโ€™re using an AI coding tool, you can use the following example prompts to configure the dashboard and simulator.

Dashboard prompt

Connect my existing web dashboard to Connect Omni using the published @studioxid/omni-adapter package.

Read the Adapter Key from CONNECT_TOKEN. Never hardcode, print, or commit it.

Use the Adapter Name smart-home-dashboard.

When the user selects a temperature, send climate.temperature.request with that number.

Receive climate.temperature and update the displayed temperature.

Run the Adapter on a Node.js backend. If this project doesn't have one, add a small backend and connect it to the existing dashboard UI. Never expose the Adapter Key in browser-side code.

Handle connection errors and clean shutdown. Follow the installed package documentation.

Show me the files changed and how to run the dashboard. Do not invent Adapter APIs

Connect my existing web dashboard to Connect Omni using the published @studioxid/omni-adapter package.

Read the Adapter Key from CONNECT_TOKEN. Never hardcode, print, or commit it.

Use the Adapter Name smart-home-dashboard.

When the user selects a temperature, send climate.temperature.request with that number.

Receive climate.temperature and update the displayed temperature.

Run the Adapter on a Node.js backend. If this project doesn't have one, add a small backend and connect it to the existing dashboard UI. Never expose the Adapter Key in browser-side code.

Handle connection errors and clean shutdown. Follow the installed package documentation.

Show me the files changed and how to run the dashboard. Do not invent Adapter APIs

Connect my existing web dashboard to Connect Omni using the published @studioxid/omni-adapter package.

Read the Adapter Key from CONNECT_TOKEN. Never hardcode, print, or commit it.

Use the Adapter Name smart-home-dashboard.

When the user selects a temperature, send climate.temperature.request with that number.

Receive climate.temperature and update the displayed temperature.

Run the Adapter on a Node.js backend. If this project doesn't have one, add a small backend and connect it to the existing dashboard UI. Never expose the Adapter Key in browser-side code.

Handle connection errors and clean shutdown. Follow the installed package documentation.

Show me the files changed and how to run the dashboard. Do not invent Adapter APIs

Connect my existing web dashboard to Connect Omni using the published @studioxid/omni-adapter package.

Read the Adapter Key from CONNECT_TOKEN. Never hardcode, print, or commit it.

Use the Adapter Name smart-home-dashboard.

When the user selects a temperature, send climate.temperature.request with that number.

Receive climate.temperature and update the displayed temperature.

Run the Adapter on a Node.js backend. If this project doesn't have one, add a small backend and connect it to the existing dashboard UI. Never expose the Adapter Key in browser-side code.

Handle connection errors and clean shutdown. Follow the installed package documentation.

Show me the files changed and how to run the dashboard. Do not invent Adapter APIs

Connect my existing web dashboard to Connect Omni using the published @studioxid/omni-adapter package.

Read the Adapter Key from CONNECT_TOKEN. Never hardcode, print, or commit it.

Use the Adapter Name smart-home-dashboard.

When the user selects a temperature, send climate.temperature.request with that number.

Receive climate.temperature and update the displayed temperature.

Run the Adapter on a Node.js backend. If this project doesn't have one, add a small backend and connect it to the existing dashboard UI. Never expose the Adapter Key in browser-side code.

Handle connection errors and clean shutdown. Follow the installed package documentation.

Show me the files changed and how to run the dashboard. Do not invent Adapter APIs

Simulator prompt

Connect my existing Python simulator to Connect Omni using the published omni-adapter package.

Read the Adapter Key from CONNECT_TOKEN. Never hardcode, print, or commit it.

Use the Adapter Name smart-home-simulator.

Receive climate.temperature.request, convert its value to a number, and update the simulated temperature.

Send climate.temperature with the confirmed value.

Handle reconnection and clean shutdown. Follow the installed package documentation.

Show me how to run the simulator. Do not invent Adapter APIs

Connect my existing Python simulator to Connect Omni using the published omni-adapter package.

Read the Adapter Key from CONNECT_TOKEN. Never hardcode, print, or commit it.

Use the Adapter Name smart-home-simulator.

Receive climate.temperature.request, convert its value to a number, and update the simulated temperature.

Send climate.temperature with the confirmed value.

Handle reconnection and clean shutdown. Follow the installed package documentation.

Show me how to run the simulator. Do not invent Adapter APIs

Connect my existing Python simulator to Connect Omni using the published omni-adapter package.

Read the Adapter Key from CONNECT_TOKEN. Never hardcode, print, or commit it.

Use the Adapter Name smart-home-simulator.

Receive climate.temperature.request, convert its value to a number, and update the simulated temperature.

Send climate.temperature with the confirmed value.

Handle reconnection and clean shutdown. Follow the installed package documentation.

Show me how to run the simulator. Do not invent Adapter APIs

Connect my existing Python simulator to Connect Omni using the published omni-adapter package.

Read the Adapter Key from CONNECT_TOKEN. Never hardcode, print, or commit it.

Use the Adapter Name smart-home-simulator.

Receive climate.temperature.request, convert its value to a number, and update the simulated temperature.

Send climate.temperature with the confirmed value.

Handle reconnection and clean shutdown. Follow the installed package documentation.

Show me how to run the simulator. Do not invent Adapter APIs

Connect my existing Python simulator to Connect Omni using the published omni-adapter package.

Read the Adapter Key from CONNECT_TOKEN. Never hardcode, print, or commit it.

Use the Adapter Name smart-home-simulator.

Receive climate.temperature.request, convert its value to a number, and update the simulated temperature.

Send climate.temperature with the confirmed value.

Handle reconnection and clean shutdown. Follow the installed package documentation.

Show me how to run the simulator. Do not invent Adapter APIs

For manual integration, see Adapters & Messages โ†’ Manual integration example for TypeScript and Python code. These examples show how to exchange messages; connect the handlers to your own appโ€™s UI.

Learn more

For complete API instructions and additional examples:

Both packages include additional guidance for connection management, sending and receiving messages, and troubleshooting.

Step 4. Run both apps and check the results

Run both apps, then change the temperature on the dashboard.

Check

Where

Expected result

Connection

Backstage

Both smart-home-dashboard and smart-home-simulator appear as connected

Temperature request

Console

climate.temperature.request is sent with the selected value

Temperature response

Console

climate.temperature is returned by the simulator

UI update

Dashboard

The displayed temperature matches the confirmed value

If both apps are connected but the dashboard doesnโ€™t update, check the channel names and the dashboardโ€™s message handler.

If an app doesnโ€™t show up in Backstage, check its key and make sure the Stage Session is running. For TypeScript apps, run:

npx --no-install omni-adapter doctor "$CONNECT_TOKEN"
npx --no-install omni-adapter doctor "$CONNECT_TOKEN"
npx --no-install omni-adapter doctor "$CONNECT_TOKEN"
npx --no-install omni-adapter doctor "$CONNECT_TOKEN"
npx --no-install omni-adapter doctor "$CONNECT_TOKEN"

For Python apps, run:

python -m omni_adapter doctor "$CONNECT_TOKEN"
python -m omni_adapter doctor "$CONNECT_TOKEN"
python -m omni_adapter doctor "$CONNECT_TOKEN"
python -m omni_adapter doctor "$CONNECT_TOKEN"
python -m omni_adapter doctor "$CONNECT_TOKEN"

This checks the key, the server, and the Session. It doesnโ€™t check whether your app handles messages.

Tips for channel names

  • Names must match exactly and are case-sensitive. climate.temperature and Climate.Temperature are different channels.

  • Use names that describe the data or action, such as climate.temperature.request.

  • Let one app own each confirmed value, so two apps donโ€™t send conflicting updates.