> ## Documentation Index
> Fetch the complete documentation index at: https://docs.uptimekit.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Worker Configuration

> Generate credentials to connect your worker to the dashboard

To connect a worker instance to your UptimeKit dashboard, you need to first create a worker identity in the admin panel and generate an API key. This key secures the communication between your worker and the dashboard.

<Steps>
  <Step title="Navigate to Workers Page">
    Navigate to the **Workers** page in the Admin Dashboard and click the **Add Worker** button located at the top right of the table.

    <Frame>
      <img height="200" src="https://mintcdn.com/uptimekit/r4L1dyFGoB49Ls5t/images/workers/index.png?fit=max&auto=format&n=r4L1dyFGoB49Ls5t&q=85&s=2de1bc149382aa6b95e8a54441eb7c39" data-path="images/workers/index.png" />
    </Frame>
  </Step>

  <Step title="Create New Worker">
    In the dialog that appears, fill in the details for your new worker:

    * **Name**: A descriptive name for your worker (e.g., "US East Node").
    * **Location**: Select the Country where your worker is hosted (e.g., "Romania", "Belgium"). This helps in identifying the source of monitoring requests and providing accurate latency data.

    <Frame>
      <img height="200" src="https://mintcdn.com/uptimekit/r4L1dyFGoB49Ls5t/images/workers/dialog.png?fit=max&auto=format&n=r4L1dyFGoB49Ls5t&q=85&s=4b5a3bcd7833a8a94703e5933b477b1b" data-path="images/workers/dialog.png" />
    </Frame>

    Click the **Create Worker** button to confirm.
  </Step>

  <Step title="Save API Key">
    Once the worker is successfully created, a confirmation dialog will appear displaying your new API Key.

    <Warning>
      **Important:** This API key is only shown once. Make sure to copy it immediately and store it securely. If you lose it, you will need to regenerate a new key, which requires updating your worker's configuration.
    </Warning>

    <Frame>
      <img height="200" src="https://mintcdn.com/uptimekit/xb-rM4GPL6D2Wlod/images/workers/key.png?fit=max&auto=format&n=xb-rM4GPL6D2Wlod&q=85&s=80d9e9ff9c365838ba8eb9f13b668c4b" data-path="images/workers/key.png" />
    </Frame>

    1. Click the **Copy** icon next to the API key field to copy it to your clipboard.
    2. Store this key safely. You will need to set it as the `WORKER_API_KEY` environment variable when running your worker instance.
    3. Click **Done** to close the dialog.
  </Step>
</Steps>

## Next Steps

With the API Key generated, you are ready to launch your worker.

* [Install the Worker](/installation/worker): Learn how to run the worker using Docker.
