Create a Reddit Ads connection
Create a Reddit Ads connection in Catalog Explorer to store authentication credentials for Lakeflow Connect ingestion. Any user with the USE CONNECTION privilege on the connection can then create Reddit Ads ingestion pipelines without needing direct access to the credentials.
The connection stores a refresh token and completes future token refreshes automatically. You do not put an access token into the pipeline spec.
For privilege requirements, see Connect to managed ingestion sources.
Prerequisites
Complete the source setup. Use the client ID and client secret you obtain to create the connection.
Create a connection
- In the Databricks workspace, click
Catalog > External Data > Connections.
- Click Create connection.
- In the Connection name field, enter a unique name for the connection.
- In the Connection type drop-down menu, select Reddit Ads.
- Enter the Client ID and Client secret that you collected during source setup.
- Click Sign in with Reddit. You're redirected to the Reddit authorization page. Databricks requests the
adsreadscope. If sign-in fails, confirm that the redirect URI in your Reddit developer application exactly matches the URI from source setup. - Select the Reddit account that has access to your Reddit Ads business and complete the authentication process. You're redirected to the Databricks workspace.
- Click Create connection.