# Checking the installation completed successfully

Once the installation is complete the state of the system can be tested through the usage of the `cct` testing tool.

As for all other assets access to this tool is provided during the initial setup phase.

## Execution of the diagnostic

This tool is dockerized and can be run from anywhere, provided a connection to the core-daemon is provided.\
The most convenient way to run it is by using a `kubectl` run command:

```bash
kubectl run -i cct --rm --image=quay.io/keyless_technologies/kl-cct-tester:master --env="APIKEY=some_valid_api_key" --env="HOST=http://core-daemon" --env="FULL_LOG=0" --image-pull-policy="IfNotPresent"
```

Example result:

```
If you don't see a command prompt, try pressing enter.
Starting tests..
> Performing ENROLL...
> ENROLL completed successfully!
> Performing AUTH...
> AUTH completed successfully!

All tests passed.
Goodbye.
pod "cct" deleted
```

This indicates that the system is running fine.

## Configurable Options

```
APIKEY= must be set to a valid API Key recognized by the current installation
HOST= must point to the core-daemon host
FULL_LOG= 0 - minimal logging, 1 - verbose logging (useful for debugging purposes)
```


---

# 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.keyless.io/on-premise/checking-the-installation-completed-successfully.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.
