# Starting the server

Our Docker images can run on either CPU or on GPU.

If you have been provided the CPU image, you can choose to run it either on Intel processors or x86-64 compatible processors such as those from AMD.

Our software is highly optimised to run on the latest Intel CPUs (4th Gen Xeon - Sapphire Rapids or later).

As the first step, you need to load the Docker image from the provided file.

*For Intel CPUs:*

```
docker load -i sensecrypt-server-sdk-ov.tar
```

*For non-Intel CPUs:*

```
docker load -i sensecrypt-server-sdk.tar
```

*For NVIDIA GPUs:*

```
docker load -i sensecrypt-server-sdk-cuda.tar
```

Assuming you have followed the previous section and have a `server.lic` file and a `secrets.json` file in the root folder, you can start the server via the script below. This script will start a docker container of the Server SDK image and copy the license and secrets information into that container:

Linux:

```
./start-docker-with-license.sh
```

Windows:

```
start-docker-with-license.bat
```

Once the server is running, you can access the OpenAPI **Swagger Docs** page by going to a browser on the local machine via:

```
http://localhost:7777/docs
```

The **Swagger Docs** page is useful to test the web APIs from your browser. The Swagger framework allows developers to create interactive, machine and human-readable API documentation. It is the framework that REST API developers are most familiar with.

We also provide RapiDoc documentation that is **better looking and easier to read**:

```
http://localhost:7777/rapidoc
```

> Every time a Docker container is restarted, it assumes a new ID. Since only 5 concurrent IDs are allowed (by default) in the license, you might encounter an error if you frequently start/stop the Docker images. Thus, it is recommended to start a Docker image only once and let it run.


---

# 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.sensecrypt.com/sensecrypt-eid-v3.0.6/sensecrypt-server/starting-the-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.
