- On the first run, the application will create a
Settings/OBS.jsonfile. - Create a new API token
- Open the token dashboard Token Dashboard
- Click the
+button on the bottom-right - Give the token a name like
SubLink Token - Copy and store the
Codevalue in the pop-up. !! Note: You can only see this token (code) once !!
- Set the
Enabledsetting totrueinSettings/OpenShock.json. - Set the
Tokensetting to theCodevalue you stored earlier inSettings/OpenShock.json. - Optional: Set the
Servervalue to your own server address inSettings/OpenShock.json. - On the second run, the application will automatically connect to the OpenShock API.
{
"OpenShock": {
"Enabled": false,
"Server": "https://api.openshock.app",
"Token": "your-token"
}
}You can either run the snippet: Shocker Snippets
Or you can follow these steps:
- Open the shockers dashboard: Shockers Dashboard
- Click the 3 dots on the right of the shocker block, then
Edit - Write down the
IDvalue in the pop-up and click cancel - Repeat steps
2and3for each tracker