Quickstart
From registration to a working AI chat on your website — in 5 steps and less than 10 minutes.
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:
| Field | Value |
|---|---|
Name | Any name, e.g. "GPT-4o Production" |
Provider API key | Your key from platform.openai.com |
Model | gpt-4o-mini (recommended for getting started) |
System prompt | Assistant 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:
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>
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.