Secrets and integrations
Keep API keys in the encrypted secret vault, connect payments, stores, marketplaces, shipping, email, SMS, AI and more, and test the connection.
Updated November 21, 2026
Apps often need keys for other services. Craftkite keeps them out of your code. Build, connect, check, publish: describe the app, connect its services in the Connections tab, check it in the preview, then publish.

Add a secret
- Open Secrets in the side menu.
- Under Add a secret, enter a Name in capital letters, digits and underscores (for example
STRIPE_SECRET_KEY) and the Value. - Click Save. The value is encrypted and never shown again; only the last characters stay visible.
Use an integration
The Integrations section of a project’s Connections tab lists more than 40 services by category: payments (Stripe, PayPal, iyzico, PayTR, Param, Mollie, Razorpay, Mercado Pago and more), the online store module, stores and marketplaces (Shopify, WooCommerce, Trendyol, Hepsiburada, N11, Amazon, Etsy, eBay, Mercado Libre), shipping (Shippo, EasyPost, Yurtiçi, Aras, MNG), email, SMS and WhatsApp, AI, maps, analytics, Google Calendar and HubSpot. The full list is on the Integrations page.
- Ask for what you need in your own words, for example “a shop that takes card payments in Turkey”. Craftkite picks the services and names them in the plan; you can also click Add next to one, which only switches the service on and opens its key slots (no code is written and no credits are used).
- Each key of an integration shows where it comes from (From your vault or From the app) or Not set. Click Add key: the value is checked against the service’s key format before it is saved, and Looks wrong marks a key that was probably pasted into the wrong field.
- Click Test connection. Craftkite makes one read-only request to the service with your keys and shows Connected, Keys refused or Could not reach the service, and whether they are Test mode or Live keys. Services without a safe test request (some Turkish payment and cargo services) get a format check.
- Click Add to the app on a switched-on service. Craftkite starts one change that builds the integration into your app: you see the credit estimate first, and the change is charged like any other change. Once its code is in the app, the card shows an In the app badge.
- After adding or changing keys, restart the preview or publish again.
Keys always stay on the server: the app reads them in its server code, they never reach the browser, the phone app bundle or the AI. Team apps keep their keys with the app itself, never in anyone’s personal vault.
When you are ready to publish, the Publish tab starts with a Before you publish card. It lists switched-on services whose keys are missing or that are not in the app yet, with an Open Connections button. It disappears when everything is ready.

What it costs
Using an integration costs nothing extra. Building one into your app is part of the task: the quote you approve already includes it (an online store or a marketplace sync takes more work than a contact form). Scheduled marketplace syncs of a live shop are charged per connected store and month; see Online store and marketplaces. Clicking Add only switches a service on and prepares its keys, which costs nothing; Add to the app shows its credit estimate before anything is charged, like any change.
Environment variables
For other settings, add Environment variables in the Connections tab. They are available to the app as process.env, in previews and when published, and are stored encrypted.
Never paste keys into a message or into the code: published code is public, and Craftkite refuses to publish or push code with a key written into it.
