Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Important
This feature is in Beta. Workspace admins can control access to this feature from the Previews page. See Manage Azure Databricks previews.
Learn how to configure Reddit Ads to enable authentication from Azure Databricks. The managed Reddit Ads connector in Lakeflow Connect uses OAuth 2.0 user-to-machine (U2M) authentication with PKCE. You'll use the credentials you collect on this page to create a Unity Catalog connection in Azure Databricks.
The OAuth scope (adsread) is set automatically by Azure Databricks. You do not configure it separately.
Before you begin
To set up Reddit Ads as a data source, you need:
- A Reddit Ads Business Manager account with access to the ad accounts you want to ingest from
- Access to the Developer Portal in Reddit Ads Business Manager
- Admin permissions to create and configure a developer application, including its redirect URI
- Your Azure Databricks workspace URL, to configure the OAuth redirect URI
Create a Reddit developer application
Sign in to Reddit Ads Business Manager at https://ads.reddit.com with an account that has access to your Reddit Ads business.
In the left navigation, under Business, open Developer Portal, then click Developer Applications.
Click Create App.
Complete the Create a new app form:
App name: Enter a name for the application, for example
databricks_ingest.Description and About url: Optional.
Redirect uri (required): Enter your Azure Databricks OAuth redirect URI:
https://<your_databricks_workspace_URL>/login/oauth/lakehousefederation.htmlReplace
<your_databricks_workspace_URL>with your workspace URL.Primary contact: Enter a business admin email.
Click Create App.
After the app is created, expand it to reveal its App ID and Secret. Copy both values — you'll enter them when creating the Azure Databricks connection.
- The App ID is the client ID.
- The Secret is the client secret. Treat it like a password.
Next steps
Use Catalog Explorer to create a connection so that any user with USE CONNECTION or ALL PRIVILEGES can create pipelines. See Create a Reddit Ads connection.