# How to Launch Our API Example

1. Launch API solutions in your own environment.
2. Go into example AI risk and click on appsettings.json.
3. Download the Folder Containing the Projects and Solution to your computer.

<figure><img src="/files/DFENdhZVGeWRzgcmxNUz" alt=""><figcaption></figcaption></figure>

4. Open the ExampleAIRisk.sln with visual studios in your own environment.
5. Go into the ExampleAIRisk Project → appsettings.json then update the APISettings with your ClientID, Secret, Endpoint, and MainURL from your environment.

<figure><img src="/files/Flx6PBHGmoEA5Q86L11O" alt=""><figcaption></figcaption></figure>

6. Go to ExampleAIRisk project → Properties folder→launchSettings.json and update the “ASPNETCORE\_ENVIROMENT” settings to the environment you are going to be working in.

<figure><img src="/files/IkNAj6fFVq2IYEarpSfK" alt=""><figcaption></figcaption></figure>


---

# 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.aicrisk.com/server-admin/api-access/how-to-launch-our-api-example.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.
