Configuration
Configure Synapse SDK for your environment and use cases.
Configuration Methods
There are three ways to configure Synapse SDK:
- Synapse CLI
- Environment variables
- Configuration file
CLI
$ synapse config
Configuration File
Create a configuration file at ~/.synapse/config.json
:
{
"backend": {
"host": "https://api.synapse.sh",
"token": "your-api-token"
},
"agent": {
"id": "agent-uuid-123",
"name": "My Development Agent",
"token": "your-agent-token"
}
}