# Initialize the CLI

The CLI is used to interact with an akamas server. To initialize the configuration of the Akamas CLI you can run the command:

```bash
akamas init config
```

and follow the wizard to provide the required information such as the server IP.

Here is a summary of the configuration wizard options.

```
Api address [http://localhost:8000]: https://<akamas-hostname>:<ui-port>/akapi
Workpace [default]: default
Verify SSL: [True]: True
Is external certificate CA required? [y/N]: N
```

This configuration can be changed at any time (see how to [change the CLI config](https://docs.akamas.io/akamas-docs/3.2.0/installing-akamas/install-the-akamas-cli/change-cli-config)).

After this step, the Akamas CLI can be used to login to the Akamas server, by issuing the following command:

```bash
akamas login
```

and providing the credentials as requested.

{% hint style="info" %}
Logging into Akamas requires a valid license. If you have not installed your license yet refer to the page [Install the Akamas license](https://docs.akamas.io/akamas-docs/3.2.0/installing-akamas/install-the-akamas-license).
{% endhint %}


---

# 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.akamas.io/akamas-docs/3.2.0/installing-akamas/install-the-akamas-cli/initialize-akamas-cli.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.
