Grafana Alloy Docker config for Grafana Cloud

Hi
I am just getting started with Grafana Cloud, and have Grafana Alloy running in Docker.
From Grafana Cloud, if I go to ‘Collector’ I can get a script to configure for different platforms and architectures, but cannot see how I use these with the Alloy Docker container?

I have attempted to set Environment variables with the values, but cannot see how these should be set, and cannot find in the documentation. Anyone have this scenario working and can guide where the token is set etc for Docker to use?

Thanks!!