Skip to content
Back to Knowledge Base

What are Integrations?

An Integration is a packaged extension that runs server-side inside CoCoCo to connect external systems and devices. It bundles its own handlers (timer, event, and RPC), per-install storage, and configuration into a versioned definition you build, publish, and install.

Typical uses: syncing with an ERP/MIS over HTTP, transforming inbound webhooks, calling a device’s local HTTP or SQL endpoint, or running scheduled jobs against the platform.

Runs whereBuilt with
IntegrationIn the cloud, scoped to an installctx.integration.* + base ctx
Edge AppOn a Controller (edge)bridge.*
Custom AppIn the browserVue + JS (+ optional Lua)

Integration handlers use the install-scoped ctx.integration.* surface, plus the tenant-scoped base API:

  • ctx.integration.containersGet/Set/Delete/List/Query(...) — per-install structured storage (manifest-declared schemas)
  • ctx.integration.cacheGet/cacheSet/cacheDelete(...) — per-install Redis cache
  • ctx.integration.getConfig/getBindings/getVersion(...) — install metadata
  • ctx.device.http(alias, opts) / ctx.device.sql(alias, opts) — call a bound device through its Bridge controller
  • ctx.graphql, ctx.sql, ctx.cache, ctx.log — the usual tenant-scoped helpers

You can upload an external API’s OpenAPI/Swagger schema to the platform and search it, so an Integration can target a third-party API’s endpoints and models accurately.

Build a Draft (manifest + bundle) → validatepublish to an active definition → install with config and resource bindings. To build one, see How to Build an Integration.