AUTOSOCIALS FOR DEVELOPERS
API key and provider setup
Configure optional integrations in the correct server or Edge Function environment and verify safely.
Before adding a key
Complete https://autosocials.com/developers/self-hosting first. Use operator-owned credentials scoped to the intended isolated environment. Store secrets in your host or Supabase secret manager, never in source control, prompts, logs, browser VITE_ variables or public support requests. Configured means only that a value is present; it does not prove provider access or a working integration. No first-install provider test has been verified.
In an authorised workspace, use Connect your AI Agent → API keys & connections to create a labelled key, choose the least privileges and expiry, copy it once and store it securely. Use the key for REST or private model generation through an MCP client that supports bearer headers. Use OAuth for ChatGPT and for publishing workflows.
Research and AI providers
Firecrawl: FIRECRAWL_API_KEY in the app-server runtime for server-side discovery and in Edge Function secrets for functions that use it. Used for website research and capture. Check enabled feature status, then run a bounded public-page lookup against a test URL only after reviewing provider charges. Documentation: https://docs.firecrawl.dev/.
Apify: APIFY_API_TOKEN in the app-server runtime for research; some Edge Function research code also recognises APIFY_API_TOKEN or APIFY_TOKEN. Confirm the feature gate, authorised actor access and budget, then test one public profile in an isolated workspace with explicit consent. Documentation: https://docs.apify.com/platform/integrations/api.
Virlo: VIRLO_API_KEY and VIRLO_ENABLED in the app-server runtime where Virlo is used; research Edge Functions may also need VIRLO_API_KEY. Confirm enabled status and provider access, then run a small public lookup in a test workspace after checking usage. Use your Virlo provider documentation for account-specific credentials; its setup has not been verified here.
OpenAI: OPENAI_API_KEY in the app-server runtime and in Edge Function secrets only where those functions call OpenAI. Verify the configured model and quota with a minimal authorised test in an isolated workspace; generation can incur charges. Documentation: https://platform.openai.com/docs/overview.
Creative, rendering and email
Higgsfield: HF_API_KEY_ID and HF_API_KEY_SECRET in the app-server runtime. Verify both are present privately and the selected model is available; a generation test is billable and requires deliberate approval. See https://docs.higgsfield.ai/docs/authentication.
Kie: KIE_API_KEY in the app-server runtime. Check the provider account, configured capability and rate limits without printing the key. Run a small paid test only when authorised; generation remains unverified. See https://docs.kie.ai/.
AutoToast: RENDER_SERVER_URL and RENDER_SERVER_SECRET in the app-server runtime for the independently operated compatible rendering service. Verify endpoint ownership and connectivity with its operator before an authorised test render; no service or compatibility has been verified by this guide.
SendGrid: SENDGRID_API_KEY in the relevant app-server and Edge Function secret environments. Verify the sender or domain in SendGrid first. If you choose to test delivery, use a test address you control and check the delivery result there. See https://www.twilio.com/docs/sendgrid/ui/account-and-settings/api-keys.
Stripe is optional for installations that sell access. Configure STRIPE_SECRET_KEY in the applicable billing functions and STRIPE_WEBHOOK_SECRET for the webhook in the same Stripe test environment. Send a test webhook and confirm the handler accepts the signature before configuring live billing. See https://docs.stripe.com/keys.
Social OAuth and webhooks
Meta Edge Functions use META_APP_ID and META_APP_SECRET. TikTok uses TIKTOK_CLIENT_KEY and TIKTOK_CLIENT_SECRET. The review sandbox uses TIKTOK_SANDBOX_CLIENT_KEY and TIKTOK_REVIEW_SANDBOX_SECRET. LinkedIn uses LINKEDIN_CLIENT_ID and LINKEDIN_SECRET, with optional LINKEDIN_COMPANY_CLIENT_ID and LINKEDIN_COMPANY_SECRET for a company client. For a self-hosted LinkedIn connection, set LINKEDIN_OAUTH_APP_ORIGIN to your app's HTTPS origin in the Edge Function environment. Google-connected functions use GOOGLE_OAUTH_CLIENT_ID and GOOGLE_OAUTH_CLIENT_SECRET. Register exact callback URLs and required permissions with each provider. Authorise a social test account and confirm its name appears in your own workspace. See https://developers.facebook.com/docs/ , https://developers.tiktok.com/doc/overview/ , https://learn.microsoft.com/en-us/linkedin/ and https://developers.google.com/identity/protocols/oauth2.
Agent webhook subscription encryption uses AGENT_WEBHOOK_ENCRYPTION_KEY in the app server: a private base64 encoding of exactly 32 random bytes, unique to the installation. Losing or changing it prevents decryption of existing secrets. Delivery additionally needs AGENT_WEBHOOK_DELIVERY_ENABLED=true and a deliberately configured protected scheduler; none is installed by the draft. The drain endpoint is POST /api/public/agent-webhook-drain, with x-agent-webhook-job-secret matching the dedicated 64-character hexadecimal secret stored in internal_job_secrets under agent_webhooks. Restrict access and manage the scheduler credential privately. Validate signatures and test delivery only to an endpoint you control. Production delivery is unverified.
Troubleshooting and rotation
Check which process consumes the variable, restart or redeploy that process securely as appropriate, confirm the project and feature gate, and inspect redacted error codes. Authentication errors can also mean wrong scopes, disabled provider access, callback mismatch, quota or absent review approval. Never print a credential to check it.
Rotate credentials in the provider and secret manager, then verify the intended feature in a test workspace. Plan webhook encryption-key recovery before changing it. Revoke exposed keys promptly and avoid logging secret-bearing request headers.