---
title: "Add Grafana Cloud (Loki) log integration"
method: POST
path: "/integrations/logs/grafana"
tags: ["Logs/Grafana Cloud"]
---

# Add Grafana Cloud (Loki) log integration

`POST /integrations/logs/grafana`

Add a Grafana Cloud (Loki) log integration.

Broker logs are exported via OTLP to your Grafana Cloud stack.

To find your credentials, sign in to the Grafana Cloud Portal, open your stack, find the **OpenTelemetry** tile and click **Configure**.

The endpoint must be the OTLP gateway URL in the format `https://otlp-gateway-prod-<region>.grafana.net/otlp`.

## Response `200`

Integration added successfully

- LogIntegration
  - `id` integer — Integration ID
  - `type` string — Integration type (e.g., papertrail, scalyr, splunk, datadog, etc.)
  - `config` object — Integration configuration (varies by integration type)
  - `error` string — Error message if any
  - `account_id` string — Account ID

---

[API](https://skmtc.dev/cloudamqp/apis/cloudamqp-instance-api.md) · [All operations](https://skmtc.dev/cloudamqp/apis/cloudamqp-instance-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cloudamqp/cloudamqp-instance-api/revisions/d04a3670170c/schema)
