Opentelemetry with Grafana cloud without agent

Hi all! is there a way to use opentelemetry with grafana cloud, without having to install the grafana agent? We have an already existing open telemetry collector installed in our cluster

(our tracing database) would probably be able to answer that for you

In that case, just configure an exporter to forward the data to tempo in grafana cloud

Something like this

 jaeger:
   protocols:
     grpc:

processors:
 batch:

exporters:
 otlp:
   endpoint: [tempo-us-central1.grafana.net:443](http://tempo-us-central1.grafana.net:443)
   headers:
     authorization: Basic <base64 data>

service:
 pipelines:
   traces:
     receivers: [jaeger]
     processors: [batch]
     exporters: [otlp]```

My setup on the otel collector matches this, but Im getting an unauthenticated desc error in the logs. I assume that this is down the to grafana API key being incorrect.
Outside of an API key with the “MetricsPublisher” role, what else needs done?

Yes that is because you need to encode it using base64

Give me a few minutes I have the steps for this somewhere

echo -n "<your user id>:<your api key>" | base64

So the api key is base64 encoded already, and that needs further encoded as above?