Skip to main content

For testing purposes, you can install the agent on your local machine with Docker Compose following these steps.

Install and run container on your machine

curl -s https://raw.githubusercontent.com/superblocksteam/agent/main/compose.yaml | \
SUPERBLOCKS_AGENT_KEY="<YOUR_AGENT_KEY>" \
SUPERBLOCKS_AGENT_HOST_URL="http://localhost:8080" \
SUPERBLOCKS_AGENT_DATA_DOMAIN="app.superblocks.com" \
SUPERBLOCKS_DOCKER_AGENT_TAG="latest" \
docker compose -p superblocks -f - up

Connect to a local database

To connect your agent to a locally running database, you must specify host.docker.internal in the Superblocks integration config, not localhost. More on this here.