RealComposer
Static HTML / JamstackSalesforcePlatforms & Frameworks

Salesforce api composition tool for indie hackers

Solo founders wiring Salesforce without backends

Direct Answer & Architecture Summary

Wire Salesforce REST from static sites with vault injection and no Express server. For "salesforce api composition tool for indie hackers", 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 Static HTML / Jamstack hit only https://realcomposer.com/v1/workspace/salesforce-api-composition-indie-hackers with an rc_live_ client token.

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

CORS blocks Salesforce in Static HTML / Jamstack

Low-code Static HTML / Jamstack tools expose connector tokens in shared workspaces, so Salesforce credentials leak to every editor.

Critical Security & Operational Risks:
  • Browser console CORS errors blocking launches
  • Editors pasting secrets into reusable components
  • Inability to test locally without disabling security
Architecture & Step-by-Step Implementation

How RealComposer Solves This at the Edge

1

Store upstream credentials in Secret Vault

Add SALESFORCE_ACCESS_TOKEN to RealComposer Secret Vault. Values decrypt only inside the Cloudflare Worker that calls the upstream.

2

Configure upstream steps and output mapping

Point step salesforce at https://{{secrets.SALESFORCE_INSTANCE}}.my.salesforce.com/services/data/v68.0/sobjects/Contact/{{query.contactId}} with GET. Add output mapping fields that mirror the JSON contract your screen already expects. Leave cache TTL at 0 when each response is user-specific (include userId or record id in query params before enabling cache).

3

Call from Static HTML / Jamstack

Authorize with Bearer rc_live_ and fetch the mapped JSON contract your UI already expects.

                    fetch('https://realcomposer.com/v1/workspace/salesforce-api-composition-indie-hackers', {
  headers: { Authorization: 'Bearer rc_live_your_token' }
});
                  
Payload Slimming Comparison
79% Bandwidth Reduction
Raw Upstream Response259 B
              {
  "requestId": "req_salesfor",
  "upstreamLatencyMs": 142,
  "audit": {
    "region": "edge",
    "trace": "salesforce-api-composition-indie-hackers"
  },
  "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
259 B to 55 B (-79%)
Call from Terminal or Client
curl -X GET "https://realcomposer.com/v1/workspace/salesforce-api-composition-indie-hackers" \
  -H "Authorization: Bearer rc_live_client_token"
Frequently Asked Questions

Developer Questions & Troubleshooting

Which Salesforce credential belongs in the vault for this pipeline?

Point Static HTML / Jamstack at /recipes/salesforce-api-composition-indie-hackers edge URL. RealComposer answers OPTIONS with Access-Control headers for allowed origins.

Does POST traffic get cached?

salesforce-api-composition-indie-hackers vault headers attach server-side, but Anthropic or OpenAI model and messages must come from the client body.

What happens if an upstream step times out?

Upstream steps in salesforce-api-composition-indie-hackers honor timeoutMs and optional fallback JSON without leaking secrets.

Sources & Definitions Used in This Answer

Instant Deployment

Deploy this Static HTML / Jamstack + 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