Pricing Sign in Get started free
Getting Started

Quickstart

From registration to a working AI chat on your website — in 5 steps and less than 10 minutes.

You will need an API key from one of the AI providers (OpenAI, Claude, Gemini, etc.) and a website where you can add a JS script.

Step 1. Sign up

Go to the registration page and create an account. The free plan includes up to 3 integrations and 500 requests per month.

Step 2. Add an AI integration

In the dashboard open Integrations → Add, select AI Chat (OpenAI) and fill in the form:

FieldValue
NameAny name, e.g. "GPT-4o Production"
Provider API keyYour key from platform.openai.com
Modelgpt-4o-mini (recommended for getting started)
System promptAssistant role description (optional)

After saving you will receive a M-TEH Key for this integration — you'll need it in step 4.

Step 3. Create a widget

Add another integration of type Widget Chat. Configure:

  • Position — bottom-right / bottom-left
  • Color — hex color code for the button
  • Button label — e.g. "Assistant"
  • Welcome message — the bot's first message

On the widget details page, copy its M-TEH Key.

Step 4. Create a pipeline

Go to Pipelines → Create. Add two steps:

Select Widget Chat (step 1)
Click "Add step" and select the widget you created — it becomes the message source.
Select the AI integration (step 2)
Add the AI integration from step 2. All messages from the widget will now go through the AI.

Save the pipeline. For advanced configuration use the Flow Builder.

Step 5. Embed the widget on your site

On the widget details page, copy the code and paste it before the closing </body> tag:

HTML<script
  src="https://your-domain.com/js/M-TEH-widget.js"
  data-key="your_widget_api_key"
  data-pipeline="pipeline_id"
  data-color="#8b5cf6"
  data-label="Assistant"
  data-welcome="Hi! How can I help?"
></script>
The data-pipeline parameter is your pipeline ID. Without it, the widget will automatically find the first available AI.

Done! Open your website — a chat button connected to your AI via M-TEH will appear in the bottom-right corner.

What's next?

Teach AI to detect the topic of a request and route it to different processing branches.
Visual editor for complex pipelines with conditions and transformations.