Quick Start

Get your application configured, synced, and ready for production in under 5 minutes.

โฑ ~5 min ๐Ÿ“ฆ Node.js / Python / Go ๐Ÿ”‘ API Key Required

๐Ÿ“‹ Prerequisites

๐Ÿš€
RuntimeNode 18+ / Python 3.9+
๐Ÿ”‘
API KeyGenerated in your dashboard
๐ŸŒ
NetworkInternet access to api.appconfig.json

๐Ÿ›  Step-by-Step Setup

1

Install the SDK

Add the App Config.json client to your project. We provide native packages for all major ecosystems.

npm install @appconfig/sdk
package.json
"dependencies": { "@appconfig/sdk": "^3.0.0", // ... other deps }
๐Ÿ’ก
Prefer Python or Go? Run pip install appconfig or go get github.com/appconfig/sdk-go.
2

Initialize & Connect

Run the CLI initializer to generate a local .appconfig.json and connect to your project.

npx appconfig init โœ“ Authenticated with key: sk_live_โ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ขโ€ข โœ“ Project "my-app" linked โœ“ Config schema downloaded (12 keys) โœ“ Ready to sync.
โš ๏ธ
Never commit AC_API_KEY to version control. Use environment variables or a secrets manager.
3

Load Config in Code

Import the SDK and load your configuration. It handles caching, retries, and live updates automatically.

index.js
import { AppConfig } from '@appconfig/sdk'; const config = new AppConfig({ apiKey: process.env.AC_API_KEY, env: process.env.NODE_ENV || 'development' }); await config.sync(); console.log(config.get('features.dark_mode')); // true console.log(config.get('api.rate_limit', 100)); // fallback: 100

The SDK automatically subscribes to WebSocket updates. When you change a value in the dashboard, config.get() returns the live value without restarts.

4

Publish & Verify

Push your first configuration change. Use the CLI or dashboard to deploy to staging or production.

npx appconfig push --env staging โœ“ Validating schema... โœ“ Building diff (3 keys changed) โœ“ Deploying to staging environment โœ“ Synced to 4 instances in 42ms

Check your application logs or use the dashboard's "Instance Status" tab to confirm all nodes received the update.

๐Ÿš€ What's Next?