api-setup
Original:🇺🇸 English
Translated
1 scriptsChecked / no sensitive code detected
Set up API integration with configuration and helper scripts
13installs
Sourceblock/agent-skills
Added on
NPX Install
npx skill4agent add block/agent-skills api-setupTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →API Setup
This skill helps you set up a new API integration with our standard configuration.
Steps
- Run to create the integration directory
setup.sh <api-name> - Copy to your integration directory
templates/config.template.json - Update the config with your API credentials
- Test the connection
Configuration
The config template includes:
- : Your API key (get from the provider's dashboard)
api_key - : API endpoint URL
endpoint - : Request timeout in seconds (default: 30)
timeout
Verification
After setup, verify:
- Config file is valid JSON
- API key is set and not a placeholder
- Test connection succeeds
Troubleshooting
Connection Timeout
If you experience connection timeouts:
- Check your network connection
- Verify the endpoint URL is correct
- Increase the timeout value in config
Authentication Errors
If you get 401/403 errors:
- Verify your API key is correct
- Check if the key has the required permissions
- Ensure the key hasn't expired