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

# Getting started

This guide will walk you through the steps to integrate the bidapp SDK into your Unity project, enabling you to monetize your applications with ads effectively.

## Import the Plugin into Unity

To integrate the Bidapp Unity plugin you need to take the following step:

1\. Navigate to [Github Unity plugin releases page](https://github.com/bidapphub/bidapp-unity-plugin/releases) and **download** the latest **Bidapp.unitypackage**\
2\. In Unity, select **Assets > Import Package > Custom Package…**\
3\. Choose the Unity Plugin file you downloaded.\
4\. In the Import Unity Package dialog, click Import

{% hint style="warning" %}
The plugin requires Unity 2022.x.x or later.
{% endhint %}

## Configure and Choose ad networks

{% content-ref url="/pages/sDomW9fvcpgtOMpp7FuN" %}
[Android](/plugins/unity/android.md)
{% endcontent-ref %}

{% content-ref url="/pages/hGscpNAcHIbrGOXMEmc7" %}
[iOS](/plugins/unity/ios.md)
{% endcontent-ref %}

## Get the pubid string

Navigate to **Bidapp Dashboard** and under [Profile](https://dash.bidapp.io/publisher/profile/) page you will find your **Publisher ID**&#x20;

## Initialize the SDK

Initialize the SDK and set the SDK delegate to receive events in the `Start()` method of your class by the following code:

```csharp
using UnityEngine;
using System;
using Bidapp;

public class DemoGUI : MonoBehaviour
{
    // Use this for initialization
    void Start()
    {
        //BidappBinding.Instance.SetLogging(true);//Uncomment if you need debug logs
        //BidappBinding.Instance.setTestMode(true);//Uncomment if you need test mode
        
        string adFormats = 
          BidappFormat.Interstitial + 
          BidappFormat.Banner + 
          BidappFormat.Rewarded;

        BidappBinding.Instance.RequestTrackingAuthorization();
        
        string pubid = "pubid from your bidapp account";
        BidappBinding.Instance.Start(pubid, adFormats);

        Debug.Log("Started with pubid = " + pubid);
    }
    ....
}

```

Uncomment the "**`//BidappBinding.Instance.SetLogging(true);`**" code to enable debug logs.

Uncomment the "**`//BidappBinding.Instance.setTestMode(true);`**" code to enable test mode.

Pay attention to the **pubid** string obtained earlier at [Get the pubid string](#get-the-pubid-string) of this instruction.
