# 5. Attester signs up

```bash
npx ts-node cli/index.ts attesterSignUp \
    -x $UNIREP_CONTRACT_ADDRESS  \
    -d $ATTESTER_PRIVATE_KEY
```

{% hint style="info" %}
**NOTE:** `-d` is attester's private key, this private key is to be used only by this attester hereafter

See: [cli/attesterSignUp](https://unirep.gitbook.io/unirep/package/cli/user-sign-up#attestersignup) for more `attesterSignUp` options.
{% endhint %}

* The attester ID will be printed, for example

```bash
Attester sign up with attester id: 1
```

Export Attester Id to the environment:

```bash
export ATTESTER_ID=1
```


---

# 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://unirep.gitbook.io/unirep/getting-started/start-with-cli-commands/5.-attester-signs-up.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.
