<@U04S8PLJWMT> i would like to set up the salesfor...
# ask-ai
r
@kapa.ai i would like to set up the salesforce connector but i would prefer to avoid the oauth flow since my salesforce user doesn't have access to browser sessions. it has permission to access the salesforce api, wouldn't this be sufficient
k
Currently, Airbyte’s Salesforce connector requires OAuth-based authentication for both Airbyte Cloud and Airbyte Open Source. For Airbyte Open Source, you must provide a Client ID, Client Secret, and Refresh Token, which are obtained via the OAuth flow. There is no officially supported way to authenticate using only username/password or just API access permissions—OAuth credentials are mandatory for the connector to function. This is true even if your Salesforce user has API access and the necessary permissions; the connector does not support username/password or session ID authentication at this time. This limitation is acknowledged in the Airbyte community, and there is an open feature request to support username/password authentication for the Salesforce source connector. The reason for the difference between Airbyte Cloud and Open Source is that Airbyte Cloud can automate the OAuth flow, while in Open Source you must manually obtain the refresh token, often using tools like Postman or following detailed blog posts. However, as of now, you cannot bypass OAuth and use only API credentials or username/password for authentication in Airbyte’s Salesforce connector [Github Issue: support username/password authentication](https://github.com/airbytehq/airbyte/issues/44376) [Salesforce Source Setup](https://docs.airbyte.com/integrations/sources/salesforce#for-airbyte-open-source). If your user cannot access browser sessions and you cannot complete the OAuth flow, unfortunately, the connector will not work with just API access permissions. You may want to follow the GitHub issue for updates or consider alternative approaches outside of Airbyte until this feature is supported.