# Automatic Regstration Server

To facilitate setting up new Secret Network nodes (as described in detail in [Setup Full Node](/secret-network-documentation/infrastructure/running-a-node-validator/setting-up-a-node-validator/testnet/run-a-full-node.md)), the Automatic Registration service can be used.

The Service receives a node's attestation and creates the Registration transaction on-chain.

It also uses a buit-in wallet to pay the transaction fees.

The source code of the Autoregster Server is available on Github [here](https://github.com/scrtlabs/registration-service). The Autoregister Server is implemented to be deployed using Azure Functions.

The  service is invoked when calling the following command while setting up the node:

```
secretd auto-register 
```

The URL of the Automatic Registration Server can be explicitly provided using `--registration-service` parameter:&#x20;

```
secretd auto-register  [--registration-service=<Registration Service URL>]
```


---

# 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.scrt.network/secret-network-documentation/infrastructure/infrastructure-services/automatic-regstration-server.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.
