API Integration Segmented By Environment. | Community
Skip to main content
January 23, 2015
Question

API Integration Segmented By Environment.

  • January 23, 2015
  • 4 replies
  • 1019 views
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

January 23, 2015
Sounds like you want a sandbox? Reach out to your account manager to get the ball rolling.
January 23, 2015
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. 
January 23, 2015
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. 
January 27, 2015
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