# Create new salesforce application via API

**URL:** <https://devforum.okta.com/t/create-new-salesforce-application-via-api/25647>\
**Category:** API\
**Created:** [October 26, 2023, 11:55am UTC](https://devforum.okta.com/t/create-new-salesforce-application-via-api/25647 "2023-10-26T11:55:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cboland](https://avatars.discourse-cdn.com/v4/letter/c/f14d63/32.png) [@cboland](https://devforum.okta.com/u/cboland)\
**Post date:** [October 26, 2023, 11:55am UTC](https://devforum.okta.com/t/create-new-salesforce-application-via-api/25647/1 "2023-10-26T11:55:03Z")

</div>

When I create a Salesforce app, using the UI, I use the [Salesfore.com](http://Salesfore.com) template and fill in the parameters. I now need to automate the process and create the app via API.

Using the Okta postman-collections I can successfully create a custom SAML 2.0 app, though it is missing a lot of fields found in the Salesforce template. My questions are…

1. Can I use the Salesforce template via API?

- If yes, how do I get the template?
- If not, how can I add the missing fields in a custom app?

1. During the UI creation of a Salesforce app there are setup instructions (from the Sign On tab) that have a link to the Okta certificate. How would I get that cert via API?
