> For the complete documentation index, see [llms.txt](https://docs.zerowork.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zerowork.io/using-zerowork/general-run-schedule-share-webhooks/log-in-to-the-agent.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
