cancel
Showing results for 
Search instead for 
Did you mean: 
Community Platform Discussions
Connect with fellow community members to discuss general topics related to the Databricks platform, industry trends, and best practices. Share experiences, ask questions, and foster collaboration within the community.
cancel
Showing results for 
Search instead for 
Did you mean: 

Connection type 'SALESFORCE' is not enabled. Please enable the connection to use it.

KristiLogos
New Contributor III

I'm trying to connect to Salesforce in databricks, I'm following this:
https://learn.microsoft.com/en-us/azure/databricks/query-federation/salesforce-data-cloud#sql-1

and when I run the "Create Catalog..." I see this error, how would I enable salesforce in Databricks? Also, there is no type salesforce_data_cloud as it shows in the documentation, but SALESFORCE is an option so I'm trying that.


CREATE CONNECTION sf_test TYPE SALESFORCE
OPTIONS (
  client_id 'blahblahblah,
  client_secret 'blahblahblah',
  pkce_verifier 'blahblahblah',
  authorization_code 'blahblahblah',
  oauth_scope "cdp_api api cdp_query_api refresh_token offline access",
  is_sandbox "false"
  );
4 REPLIES 4

Alberto_Umana
Databricks Employee
Databricks Employee

Hi @KristiLogos,

Greetings from Databricks! 

Could you please share the error you have received? 

Apologies! I thought I had that in the original question, please see below:

[RequestId=5eb278b1-681a-4a04-840d-864d3fe9449e ErrorClass=INVALID_PARAMETER_VALUE.CONNECTION_TYPE_NOT_ENABLED] Connection type 'SALESFORCE' is not enabled. Please enable the connection to use it.

Alberto_Umana
Databricks Employee
Databricks Employee

The reason they're getting this error is because workspace is not enabled for the LakeFlow Connect preview. 

Could you please file a ticket with us, as we might required additional details.

Please refer to: https://docs.databricks.com/en/resources/support.html

@Alberto_Umana - we are in WEST US 3 and i'm not sure what lakeflow connect is? But I'll open a ticket

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group