Setup Steps
Create a Connected App
- Log in to Salesforce
- Go to Setup → App Manager
- Click New Connected App
- Fill in basic info:
- Connected App Name: “Spike Forms”
- API Name: “Spike_Forms”
- Contact Email: your email
- Enable OAuth Settings:
- Callback URL:
https://spike.ac/oauth/callback - Selected OAuth Scopes:
apirefresh_token, offline_access
- Callback URL:
- Save and wait for activation (2-10 minutes)
Get OAuth Credentials
- After the app is created, click Manage Consumer Details
- Copy the Consumer Key (Client ID)
- Copy the Consumer Secret (Client Secret)
Generate Refresh Token
- Use the OAuth flow to get a refresh token
- Or use Salesforce Workbench:
- Go to workbench.developerforce.com
- Log in with OAuth
- Use the REST Explorer to get tokens
Configure in Spike
- Go to your Spike Dashboard
- Select your form → Settings
- Scroll to Integrations → Salesforce
- Enable the toggle
- Enter your Client ID
- Enter your Client Secret
- Enter your Refresh Token
- Enter your Instance URL
- Save changes
Field Mapping
Spike creates Leads with these mappings:| Form Field | Salesforce Field |
|---|---|
name or first_name | FirstName |
last_name | LastName |
email | |
phone | Phone |
company | Company |
message | Description |
Troubleshooting
Leads not created
Leads not created
- Verify all OAuth credentials are correct
- Check that the refresh token hasn’t expired
- Ensure the connected app is active
- Verify the Instance URL is correct
Authentication errors
Authentication errors
- Regenerate the refresh token
- Check that the connected app has correct OAuth scopes
- Verify the Client ID and Secret match
Required fields
Required fields
Salesforce requires Company or LastName. Make sure your form includes one of these fields.