> For the complete documentation index, see [llms.txt](https://owo-game.gitbook.io/owo-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://owo-game.gitbook.io/owo-api/quick-setup.md).

# Quick Setup

If you want to start right away, we provide you with a simple snippet of code to include in your project. It shows how to connect with the MyOWO App and how to send a sensation.

To make a basic integration, you will need:

* [Our Visualizer tool](/owo-api/tools/owo-visualizer.md): To validate the connection and sensations sending.
* [Our API](/owo-api/downloads.md): To integrate our technology in your project code.

Optionally, you could also use our [Sensations Creator](/owo-api/tools/sensations-creator.md) to create and modify your own Sensations.&#x20;

{% tabs %}
{% tab title="C#" %}

```csharp
public async Task Main()
{
    await Connect();
    
    await SendBakedSensation();
    SendDynamicSensation();
    
    OWO.Disconnect();
}

Task Connect()
{
    //Here we declare two baked sensations, Ball(0) and Dart(1)
    var auth = GameAuth.Parse("0~Ball~100,1,100,0,0,0,Impact|0%100,1%100,2%100,3%100,4%100,5%100~impact-0~#1~Dart~12,1,100,0,0,0,Impact|5%100~impact-1~");
    OWO.Configure(auth);

    return OWO.AutoConnect(); //This operation can be awaited
}

void SendDynamicSensation() => OWO.Send(Sensation.Dagger);

Task SendBakedSensation()
{
    OWO.Send("0"); //This ID belongs to the Ball sensation in the GameAuth
    return Task.Delay(100); //We wait for the baked sensation to finish
}

```

{% endtab %}

{% tab title="C++" %}

```cpp
//This UDPNetwork will only work on windows
std::shared_ptr<OWOGame::OWO> owo = OWO::Create<UDPNetwork>();

void Connect()
{
    //Here we declare two baked sensations, Ball(0) and Dart(1)
    auto auth = GameAuth::Parse("0~Ball~100,1,100,0,0,0,Impact|0%100,1%100,2%100,3%100,4%100,5%100~impact-0~#1~Dart~12,1,100,0,0,0,Impact|5%100~impact-1~");
    owo->Configure(auth);

    owo->AutoConnect();
    
    
    while (owo->State() != ConnectionState::Connected)
    {
        //We call UpdateStatus here only for the connection, 
        //but it also must be called in your application main loop
        //for more information read the Connection page in our documentation
        uint64_t timeInMs = std::clock();
        owo->UpdateStatus(timeInMs);
    }
}

void SendDynamicSensation()
{
    owo->Send(SensationsFactory::Create(100, 0.1f, 100, 0, 0, 0, "Dagger"));
}

void SendBakedSensation()
{
    //This ID belongs to the Ball sensation in the GameAuth
    owo->Send(SensationsParser::Parse("0"));
    //We wait for the baked sensation to finish
    std::this_thread::sleep_for(std::chrono::milliseconds(100));
}

void Main()
{
    Connect();

    SendBakedSensation();
    SendDynamicSensation();

    owo->Disconnect();
}
```

{% endtab %}
{% endtabs %}


---

# 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://owo-game.gitbook.io/owo-api/quick-setup.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.
