# Accept an Invite

Upon receiving an email invite to OnePub, click the supplied link to accept the invite via the OnePub website.

For the majority of our users, we naturally assume they have Dart installed, in case you don't, please follow the instructions to install Dart from here:

{% embed url="<https://dart.dev/get-dart>" %}

To start, you must first install the OnePub command-line tools.

```
dart pub global activate onepub
```

{% hint style="success" %}
You can authenticate using your Google or Github credentials or an email/password.
{% endhint %}

Run the following command to accept your invite and complete your registration:

```
onepub login
```

All done.

The next steps are:

* Adding a dependency to a [private package](/guides/package-dependencies.md).
* [Publishing your first private package.](/guides/publishing-packages.md)


---

# 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.onepub.dev/guides/installing/accept-an-invite.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.
