---
parent: /workflows/agents.md
back_out_url: /workflows/agents.md
---

# Workflow 10: Create Integration Instance

> You are at https://api.litmus.io/workflows/create-integration-instance.md
> Parent: https://api.litmus.io/workflows/agents.md
> If this is the wrong workflow, back out to the index above.

## 10. Create Integration Instance

**UI trigger**: Integration -> Add Connector -> Select Provider -> Configure -> Save

The Integration module (internally `cc`) connects Litmus Edge to cloud services and databases. Creating an instance requires knowing the provider's config schema first, then supplying the correct fields in a CreateInstance mutation.

### Step table

| Step | API Name | Method | Endpoint / GraphQL Operation | Input | Output / What to capture |
|------|----------|--------|------------------------------|-------|--------------------------|
| 1 | Get Provider Schema | `POST` | `{{edgeUrl}}/cc/v2` -> `GetProviderSchema` | Provider ID | Full config schema (field names, types, required, defaults, enums). See **Provider Schemas - Reference** folder for all 45 providers. |
| 2 | Create Instance | `POST` | `{{edgeUrl}}/cc/v2` -> `CreateInstance` | Provider ID + Config JSON (matching schema from step 1) | `InstanceID`, `ProviderID`, `Online`, `Status`. See **Create Instance - Provider Examples** folder for all 45 providers. |
| 3 | List Instances | `POST` | `{{edgeUrl}}/cc/v2` -> `ListInstances` | Optional filter by InstanceID | Verify instance was created, check `Online` and `Status` |
| 4 | Create Subscription (topics) | `POST` | `{{edgeUrl}}/cc/v2` -> `CreateSubscription` | Instance ID + topic config | Topic subscription created - data starts flowing |

> **Reference folders**: The collection includes **Provider Schemas - Reference** (45 entries, one per provider with full GetProviderSchema response) and **Create Instance - Provider Examples** (45 entries, one per provider with CreateInstance mutation + sample config). Use these to look up the exact config fields for any provider.

> **Supported providers** (45): AMQP (SSL/TCP), Aveva Data Hub, OSI PI Historian, AWS IoT Core/SiteWise, Azure Event Hubs/IoT Hub, Cognite, Databricks SQL, Google Cloud Pub/Sub, IBM Watson, InfluxDB (v1.7/v2), Kafka (SSL/TCP, Gen 2), Litmus UNS, MQTT (Generic/v5/SSL), MongoDB (v4+), NATS, Oracle Fusion Cloud, REST API, SQL Server, MySQL, PostgreSQL, Snowflake, Splunk.


---
