🔐Getting Started
Environment Variables
Configure your environment for development and production.
⏱️ 6 min read
Required Variables
| Variable | Description | Required |
|---|
PROPTECH_API_KEY | Your API key for authentication | Yes |
PROPTECH_WEBHOOK_SECRET | Secret for validating webhooks | If using webhooks |
Optional Variables
| Variable | Description | Default |
|---|
PROPTECH_BASE_URL | API base URL | https://api.proptechusa.ai |
PROPTECH_TIMEOUT | Request timeout in ms | 30000 |
|---|---|---|
PROPTECH_RETRY_COUNT | Number of retries | 3 |
Example .env.local
# Required
PROPTECH_API_KEY=pk_live_xxxxxxxxxxxxx
# Webhooks
PROPTECH_WEBHOOK_SECRET=whsec_xxxxxxxxxxxxx
# Optional overrides
PROPTECH_BASE_URL=https://api.proptechusa.ai
PROPTECH_TIMEOUT=30000
# Third-party integrations
SLACK_WEBHOOK_URL=https://hooks.slack.com/services/xxx
STRIPE_SECRET_KEY=sk_live_xxxxxxxxxxxxx
Environment-Specific Configuration
Development
# .env.development
PROPTECH_API_KEY=pk_test_xxxxxxxxxxxxx
PROPTECH_BASE_URL=https://api-staging.proptechusa.ai
Production
# .env.production
PROPTECH_API_KEY=pk_live_xxxxxxxxxxxxx
PROPTECH_BASE_URL=https://api.proptechusa.ai
Security Best Practices
.gitignore