Skip to content

Update Snowflake Setup Guide #6874

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Aug 1, 2024
Merged

Update Snowflake Setup Guide #6874

merged 9 commits into from
Aug 1, 2024

Conversation

uditmehta27
Copy link
Contributor

Proposed changes

Updated data graph snowflake set up steps as per - https://segment.atlassian.net/browse/EN-1234

Merge timing

ASAP once approved

Related issues (optional)

@uditmehta27 uditmehta27 requested a review from pwseg as a code owner July 30, 2024 19:52
Copy link

netlify bot commented Jul 30, 2024

Deploy Preview for segment-docs ready!

Name Link
🔨 Latest commit 9d6dbe1
🔍 Latest deploy log https://app.netlify.com/sites/segment-docs/deploys/66aa7f9aaefb450008b61fb7
😎 Deploy Preview https://deploy-preview-6874--segment-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@@ -21,7 +21,7 @@ Log in to Snowflake with admin privileges to provide Segment Data Graph with the

Segment requires the following settings to connect to your Snowflake warehouse.

<img src="/docs/unify/images/snowflake-setup.png" alt="Connect Snowflake to the Data Graph" width="5888"/>
<img src="/docs/unify/images/snowflake-setup.png" alt="Connect Snowflake to Data Graph" width="5888"/>

- **Account ID**: The Snowflake account ID that uniquely identifies your organization account.
- **Database Name**: The only database that Segment requires write access to in order to create tables for internal bookkeeping. This database is referred to as `segment_connection_db` in the script below.
Copy link
Contributor

@hansquaredwang hansquaredwang Jul 31, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add explanations for Authorization as well, its in the default UI now?

What Kathlynn's written before (feel free to rev)
If you are using a key pair, you would need to first create the user and assign it a key pair following the instructions in the Snowflake docs. Then, follow the Segment docs above to set up Snowflake permissions and set the “segment_connections_username” variable in the SQL script to the user you just created.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hansquaredwang addressed your comment!


Next, give the Segment user **read-only** access to all the other databases you want to use for Data Graph. You must grant access to the Profiles Sync database.
Next, give the Segment user **read-only** access to all the other databases you want to use for Data Graph including the **Profiles Sync database**
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Next, give the Segment user **read-only** access to all the other databases you want to use for Data Graph including the **Profiles Sync database**
Next, give the Segment role **read-only** access to all the other databases you want to use for Data Graph including the **Profiles Sync database**.

@pwseg pwseg changed the title Update snowflake-setup.md page in Data Graphs Update Snowflake Setup Guide Aug 1, 2024
@pwseg pwseg added the content-update updates to content that are not new features, includes grammar fixes, added notes label Aug 1, 2024
@pwseg pwseg merged commit 77a3364 into develop Aug 1, 2024
4 checks passed
@pwseg pwseg deleted the uditmehta27-patch-1 branch August 1, 2024 15:30
Copy link
Contributor

github-actions bot commented Aug 1, 2024

Thank you for your contribution! Your pull request is merged, but may take a day or two to appear on the site.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content-update updates to content that are not new features, includes grammar fixes, added notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants