> For the complete documentation index, see [llms.txt](https://support.marscat.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.marscat.io/development-tools/relayx-cli/command-explanation/create-self.md).

# create self

Create a Self Service account for the selected MarsApp.

```bash
relayx-cli create self
```

Operation Process:

{% stepper %}
{% step %}

### Select MarsApp

Choose the MarsApp you want to create a Self Service account for.
{% endstep %}

{% step %}

### Generate userkey.json

Upon successful creation, a `userkey.json` file is generated in the `{RelayApp Address}.config/` directory.
{% endstep %}
{% endstepper %}

Complete directory structure:

```makefile
{RelayApp Address}.config/
├── config.json          # RelayApp configuration
├── owner.json           # Owner
├── master.json          # Master
├── userkey.json         # Self Service account
└── agents/              # Agent folder
```

{% hint style="warning" %}
**Note**: Repeatedly executing this command will overwrite the existing Self Service account.
{% endhint %}
