Grouplink init using JSON file
Team
SDK Team
Last Updated
June 10, 2026
This page describes how to initiate and register the Grouplink SDK using a JSON file with the grouplink token.
1. Check if your project already has the assets directory
1.1. Be sure to navigate to your application directory (usually located at app/src/main) and verify that the assets directory exists.
1.2 Create the assets directory if it does not exist in your project.
- Right click on the app folder and select new > directory.
- Select the asset directory with the following path app/src/main.
2. Create the JSON file
Inside the assets directory, right-click and select new > file.
Name the file grouplink-services.json.
3. Open the grouplink-services.json file and insert the following JSON content
1{2 "token": "YOUR_GROUP_LINK_TOKEN"3}
Replace YOUR GROUP LINK TOKEN with the token received from our team.
4. Initialize Group Link
Initialize the library with the following line, inside the Application class of the app
1package com.example.your_app2...3class App : Application() {4 override fun onCreate() {5 super.onCreate()6 ...7 //Grouplink must be initialized inside8 //onCreate of the core Application registered.9 //add the following line1011 GroupLink.register(12 context.applicationContext,13 false //true if you want to test if the implementation is working.14 )15 }16 ...17}