# Setting Up Community Edition

{% hint style="warning" %}
This is a quick start for a local setup using the Lenses Community edition. To connect to your Kafka clusters, see [Connecting Lenses to your Kafka environment](https://docs.lenses.io/latest/getting-started/connecting-lenses-to-your-environment).\\

By running the following command, including the ACCEPT\_EULA, you are accepting the [Lenses EULA ](https://lenses.io/legals/eula)agreement.
{% endhint %}

Run the following command:

{% code title="terminal" %}

```sh
curl -L https://lenses.io/community-edition/download -o docker-compose.yml \
 && ACCEPT_EULA=true docker compose up -d --wait \
 && echo "Lenses.io is running on http://localhost:9991"
```

{% endcode %}

The very first time you run this command it will take a bit longer as Docker has to download the images. Subsequent runs should take much less time.

{% hint style="warning" %}
To run this setup smoothly, your Docker settings **must allocate at least 5GB of memory**
{% endhint %}

Once the images are pulled and containers started, you can log in by going to [http://localhost:9991 ](http://localhost:9991)or the IP of your Docker host.

```
Username: admin 
Password: admin
```

{% hint style="danger" %}
The HQ binary does not have a default password. This is a default password configured by the Docker Compose scripts to secure your deployment.

CHANGE THE DEFAULT PASSWORD. You can see how on [Admin Account](https://docs.lenses.io/latest/deployment/configuration/authentication/admin-account#changing-the-admin-password).
{% endhint %}

<figure><img src="https://3629020462-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoxgTiTb4MZT9IGHAYUTn%2Fuploads%2Fgit-blob-1b64f242b214db7a45eb0bbc1c167f942bdff4d6%2Fimage%20(3)%20(1)%20(1)%20(1).png?alt=media" alt="" width="455"><figcaption><p>Community login</p></figcaption></figure>

{% hint style="success" %}
It may take a few seconds for the agent to fully boot and connect to HQ.
{% endhint %}

You will need an access code to use Community Edition. It will ask you to set it up the first time you login. Once applied you won't need to access it again. Please see the [self-guided walk through](https://docs.lenses.io/latest/getting-started/quickstart/hands-on-walk-through-of-community-edition) for details on setting it up.

The quick start uses a docker-compose file to:

{% stepper %}
{% step %}
**Start Postgres, HQ and Agent uses Postgres as a backing store.**
{% endstep %}

{% step %}
**Start a single local Kafka Broker**
{% endstep %}

{% step %}
**Start a local Confluent Schema Registry**
{% endstep %}

{% step %}
**Start HQ and create an environment & agent key**
{% endstep %}

{% step %}
**Start Agent and connect to Kafka, the Schema Registry and HQ.**
{% endstep %}
{% endstepper %}
