# Log in to the Agent

When using webhooks or using scheduler, you need to log in to your agent, as shown below. You do not need to log in to your agent if you don't use webhooks or scheduler.&#x20;

This needs to be done **only once** after the installation.

You don't need to be logged in to your agent if you only run TaskBots manually.

#### Mac view

![](/files/odrBvLz2rBklaFdtnNOC)

#### Windows view

<figure><img src="/files/KKNpObx6VQ1mdXhyGo1g" alt=""><figcaption><p>Bottom right view</p></figcaption></figure>

<figure><img src="/files/zRlyEnMigbeT1yvlMUyK" alt=""><figcaption><p>Click on ZeroWork agent to see the options</p></figcaption></figure>

#### After you logged in

After you logged in to your agent, you should see status **connected**, as shown below. Same is the case for webhooks if your account has any active webhooks.

![](/files/1CRiCtIHImqXI0f7U7E6)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.zerowork.io/using-zerowork/general-run-schedule-share-webhooks/log-in-to-the-agent.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
