title: Mule 4 : Salesforce : API is not enabled for this Organization or Partner
body: <p>Scenario : Mule 4 and Salesforce Integration.</p>
  <ol>
  <li>Created a developer account in Salesforce.</li>
  <li>Created a Custom Object in Salesforce for loading data via Mulesoft.</li>
  <li>In mule 4 using a Salesforce Query component and providing the SF username, password and security token and did a 'TEST CONNECTION'.</li>
  </ol>
  <p>Problem : Getting the Error :</p>
  <pre><code>org.mule.runtime.api.connection.ConnectionException: org.mule.runtime.api.connection.ConnectionException: API is not enabled for this Organization or Partner
    org.mule.runtime.api.connection.ConnectionException: org.mule.runtime.api.connection.ConnectionException: API is not enabled for this Organization or Partner
    Caused by: org.mule.runtime.api.connection.ConnectionException: API is not enabled for this Organization or Partner
    Caused by: org.mule.runtime.api.connection.ConnectionException: API is not enabled for this Organization or Partner
    Caused by: [UnexpectedErrorFault [ApiFault  exceptionCode='API_DISABLED_FOR_ORG'
     exceptionMessage='API is not enabled for this Organization or Partner'
     extendedErrorDetails='{[0]}'
    ]
    ]
  </code></pre>
  <p>When I checked for solutions I found the following steps:</p>
  <ol>
  <li>Go to Setup-&gt;Manage Users -&gt; Profiles-&gt; System Administrator-&gt; Edit Profile.</li>
  <li>But in Administer Preferences I do not see the enable API option.</li>
  </ol>
  <p><a href="https://i.stack.imgur.com/Q136h.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Q136h.png" alt="enter image description here" /></a></p>
  <p>But when I check under Administration Settings, I do not see an option to enable the API.</p>
  <p>Please help.</p>
  <p>Thanks in advance.</p>