> For the complete documentation index, see [llms.txt](https://docs.kibotu.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.kibotu.ai/unity-sdk/implementing-unity-sdk.md).

# Implementing Unity SDK

Follow this guide on how to quick start with Kibotu Unity SDK

1. Access admin console\
   Login to the back office console at [`console.kibotu.ai`](https://console.kibotu.ai)<br>
2. Generate an API Key\
   Access [console.kibotu.ai/api-keys](https://console.kibotu.ai/api-keys) `and follow the key generation form, alternatively you may contact your account manager to get an API Key.`<br>
3. Install SDK

   In your unity project root open [`./Packages/manifest.json`](#user-content-fn-1)[^1] and add the following line to the dependencies section:<br>

   `"ai.kibotu.unity": "<https://github.com/KibotuAI/kibotu-unity.git",`

   \
   Open Unity project and the package should download automatically\
   \
   \&#xNAN;*(Currently we support Unity 2018.3 and above)*<br>
4. Configure SDK\
   \
   To use Kibotu SDK with Unity, you must first initialize it with your API key.\
   Open the unity project settings menu for Kibotu. \
   \
   `(Edit -> Project Settings -> Kibotu)` \
   \
   Enter your API key in the `Runtime Token` input field in the inspector.

<figure><img src="/files/aVbcLpYUeLQsSbJzDA2p" alt=""><figcaption><p>Project settings inspector for Kibotu</p></figcaption></figure>

1. Report a test event to Kibotu:\
   \
   `using kibotu;`\
   `Kibotu.Init();`\
   `Kibotu.Identify("test_user_id");`\
   `Kibotu.Track("TestEvent");`<br>
2. Check for success at admin console: [Settings -> Verify Integration](https://console.kibotu.ai/verify-integration)\
   \
   You should be able to see \`TestEvent\` in the list.\
   \
   \&#xNAN;*Note: Let it up to 60 seconds to be available in the console.*

[^1]:


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.kibotu.ai/unity-sdk/implementing-unity-sdk.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
