RealComposer
Bubble.ioSalesforceSecurity & Secret Vault

Call salesforce api from bubble io securely

Bubble CRM integrations without integration tokens in editor

Direct Answer & Architecture Summary

RealComposer mediates Salesforce REST for Bubble workflows. For "call salesforce api from bubble io securely", store SALESFORCE_ACCESS_TOKEN in Secret Vault, call https://{{secrets.SALESFORCE_INSTANCE}}.my.salesforce.com/services/data/v68.0/sobjects/Contact/{{query.contactId}} from a Worker, and let Bubble.io hit only https://realcomposer.com/v1/workspace/call-salesforce-from-bubble-securely with an rc_live_ client token.

Security LevelAES-256-GCM Vault
Edge LatencySub-10ms Response
InfrastructureZero Server Maintenance
The Problem Solved

Why Bubble.io leaks Salesforce credentials

Attackers routinely extract Salesforce secrets from Bubble.io builds. Direct browser calls also expose internal error payloads with hostnames.

Critical Security & Operational Risks:
  • Production Salesforce keys copied from Bubble.io bundles
  • Compliance violations after credential leaks
  • Attackers replaying vault-grade scopes from a laptop
Architecture & Step-by-Step Implementation

How RealComposer Solves This at the Edge

1

Add vault secrets for this pipeline

Store SALESFORCE_ACCESS_TOKEN in the vault. Bubble.io never embeds the raw secret, only a revocable rc_live_ client token.

2

Target the real upstream URL

Configure headersTemplate to inject vault secrets, target https://{{secrets.SALESFORCE_INSTANCE}}.my.salesforce.com/services/data/v68.0/sobjects/Contact/{{query.contactId}}, and Add output mapping fields that mirror the JSON contract your screen already expects.

3

Connect Bubble API Connector

Allowed origins on the token should list every Bubble.io host that calls this URL.

                    API Connector GET https://realcomposer.com/v1/workspace/call-salesforce-from-bubble-securely
Private header: Authorization Bearer rc_live_your_token
                  
Payload Slimming Comparison
78% Bandwidth Reduction
Raw Upstream Response255 B
              {
  "requestId": "req_call-sal",
  "upstreamLatencyMs": 142,
  "audit": {
    "region": "edge",
    "trace": "call-salesforce-from-bubble-securely"
  },
  "payload": {
    "id": "sample_id",
    "status": "active",
    "nested": {
      "tags": [
        "demo"
      ],
      "internal": true
    },
    "unused_blob": {
      "foo": "bar",
      "bar": "baz"
    }
  }
}
            
RealComposer Slimmed Edge Payload55 B
              {
  "contactId": "sample",
  "email": "sample",
  "name": "sample"
}
            

Recipe Specs

HTTP method
GET
Upstream calls
1
Edge cache TTL
No caching
Client auth
Restricted client token
Mapped output fields
3
Payload
255 B to 55 B (-78%)
Call from Terminal or Client
curl -X GET "https://realcomposer.com/v1/workspace/call-salesforce-from-bubble-securely" \
  -H "Authorization: Bearer rc_live_client_token"
Frequently Asked Questions

Developer Questions & Troubleshooting

Can Bubble.io call Salesforce without holding the production key?

Use scoped tokens where the vendor allows them on call-salesforce-from-bubble-securely. Admin keys stay {{secrets.*}} references only.

How do I forward JSON bodies to POST upstreams?

call-salesforce-from-bubble-securely POST steps bypass caches.default even if cacheTtlSeconds is set in the dashboard.

What happens if an upstream step times out?

Rotate vault secrets for call-salesforce-from-bubble-securely anytime; clients keep the same rc_live_ token.

Sources & Definitions Used in This Answer

Instant Deployment

Deploy this Bubble.io + Salesforce Recipe

Clone this pre-configured pipeline into your RealComposer workspace in one click. We pre-populate upstream URLs, headers, and mapping rules.

CLONE THIS RECIPE
Related Architecture Recipes