Skip to main content
Jan 23, 2015 5:33 PM UTC
Question

API Integration Segmented By Environment.

We are in the process of integrating with your API and would like to create leads in different environments, one for development, one for production, etc. We don't want to pollute real leads with bogus leads used in test scenarios. How might we go about doing this?
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

4 replies

Jan 23, 2015 6:21 PM UTC
Sounds like you want a sandbox? Reach out to your account manager to get the ball rolling.
Translate
Jan 23, 2015 6:44 PM UTC
Hey Morgan, 

We do the same thing and as Don suggested, you can ask Marketo for a sandbox environment for your testing purposes. 

We have a complete staging environment between our app, SFDC, and Marketo. 

One caveat is you can't easily refresh Marketo sandbox from production unlike SFDC. This is a real pain. 
Translate
Jan 23, 2015 11:39 PM UTC
As Don and Justin mentioned a sanbox is the best option for this. Another alternative is to create a convention when you create test leads in your Marketo instance, so you know they are test leads. For example, create a custom field called TestLead, and then mark this field trust for Test Leads. This way you can easily delete these leads later. 
Translate
Jan 27, 2015 9:38 AM UTC
Hi Morgan
If you don't have sandbox, you can create two workspaces and two lead partitions for production and development.
You can control test users permission also.
Note that:
- Access control is REST only
- You can not delete test attributes from lead database forever, hide only
 
Translate