> For the complete documentation index, see [llms.txt](https://assetstore.snapchatkit.voxelbusters.com/tutorials/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://assetstore.snapchatkit.voxelbusters.com/tutorials/api/login.md).

# Initialisation

First call to use SnapchatKit features

Initialise Snapchat Kit plugin by calling Initialise method. This initialises the plugin and returns a callback which has the success status.

```
SnapchatKitManager.Initialise(callback);
```

Examples

```csharp
SnapchatKitManager.Initialise((bool success, string error) =>
{
    string message  =  success ? "Successfully Initialised" : "Failed Initialising
SnapchatKit : " +error;
    Debug.Log(message);
});
```

```csharp
using VoxelBusters.SnapchatKit;

private void Initialise()
{
    SnapchatKitManager.Initialise(OnInitialiseComplete);
    
    // Another way to pass callback
    /*
    SnapchatKitManager.Initialise((bool success, string error) =>
    {
        string message  =  success ? "Successfully Initialised" : "Failed Initialising
SnapchatKit : " +error;
        Debug.Log(message);
    });*/
}

private void OnInitialiseComplete(bool success, string error)
{
    string message  =  success ? "Successfully Initialised" : "Failed Initialising
SnapchatKit : " +error;
    Debug.Log(message);
}
```
