You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/unify/data-graph/data-graph.md
+8-11
Original file line number
Diff line number
Diff line change
@@ -8,15 +8,12 @@ hidden: true
8
8
> info "Segment's Data Graph is in public beta"
9
9
> Data Graph is in public beta, and Segment is actively working on this feature. Some functionality may change before it becomes generally available.
10
10
11
-
With Linked Profiles, you can build a Data Graph that defines relationships between any entity data set in the warehouse and the Segment Profiles you send with Profiles Sync. Make this relational data accessible to marketers and business stakeholders to empower them with the data they need to create targeted and personalized customer engagements.
11
+
With Linked Audiences, you can build a Data Graph that defines relationships between any entity data set in the warehouse and the Segment Profiles you send with Profiles Sync. Make this relational data accessible to marketers and business stakeholders to empower them with the data they need to create targeted and personalized customer engagements.
12
12
13
-
Segment's Data Graph powers [Linked Events](/docs/unify/linked-profiles/linked-events/) and [Linked Audiences](/docs/engage/audiences/linked-audiences/).
13
+
Segment's Data Graph powers [Linked Events](/docs/unify/data-graph/linked-events/) and [Linked Audiences](/docs/engage/audiences/linked-audiences/).
14
14
15
15
To help you get started with the Data Graph, [view this short setup demo](https://drive.google.com/file/d/1oZNvs0raYaxK6tds3OEF0Ri3NGVCoXys/view?pli=1){:target="_blank"}.
16
16
17
-
> info ""
18
-
> Linked Profiles follows zero-copy principles, and doesn't copy entities to store in Segment. Segment stores and processes all data in the United States.
19
-
20
17
> warning ""
21
18
> Don't send any personal health information with the Data Graph.
22
19
@@ -29,16 +26,16 @@ To use the Data Graph, you'll need the following:
29
26
- Workspace Owner or Unify Read-only/Admin and Entities Admin permissions.
30
27
31
28
> info ""
32
-
> Profiles Sync is not required for Linked Events
29
+
> Profiles Sync is not required for Linked Events.
33
30
34
31
## Step 1: Set up required permissions in your data warehouse
35
32
36
33
To get started, set up the required permissions in your data warehouse using the instructions below:
37
34
38
-
-[Snowflake](/docs/unify/linked-profiles/setup-guides/snowflake-setup/) and [Databricks](/docs/unify/linked-profiles/setup-guides/databricks-setup/) are supported by both Linked Events and Linked Audiences.
39
-
-[Redshift](/docs/unify/linked-profiles/setup-guides/redshift-setup/) and [BigQuery](/docs/unify/linked-profiles/setup-guides/BigQuery-setup/) are currently supported for Linked Events.
35
+
-[Snowflake](/docs/unify/data-graph/setup-guides/snowflake-setup/) and [Databricks](/docs/unify/data-graph/setup-guides/databricks-setup/) are supported by both Linked Events and Linked Audiences.
36
+
-[Redshift](/docs/unify/data-graph/setup-guides/redshift-setup/) and [BigQuery](/docs/unify/data-graph/setup-guides/BigQuery-setup/) are currently supported for Linked Events.
40
37
41
-
Linked Profiles uses [Segment's Reverse ETL](/docs/connections/reverse-etl/) infrastructure to pull data from your warehouse.
38
+
Linked Audiences uses [Segment's Reverse ETL](/docs/connections/reverse-etl/) infrastructure to pull data from your warehouse.
42
39
43
40
To track what data has been sent to Segment on previous syncs, Segment stores delta/diffs in tables within a single schema called `_segment_reverse_etl` in your data warehouse. You can choose which database/project in your warehouse this data lives in.
44
41
@@ -100,7 +97,7 @@ An entity is a stateful representation of a business object. The entity correspo
100
97
|`name`| A unique label that displays throughout your Segment space. |
101
98
|`table_ref`| Defines the table reference. In order to specify a connection to your table in Snowflake, a fully qualified table reference is required: `[database name].[schema name].[table name]`. |
102
99
|`primary_key`| The unique identifier for the given table. Should be a column with unique values per row. |
103
-
| (Optional) `enrichment_enabled = true`| Indicates if you plan to also reference the entity table for [Linked Events](/docs/unify/linked-profiles/linked-events/). |
100
+
| (Optional) `enrichment_enabled = true`| Indicates if you plan to also reference the entity table for [Linked Events](/docs/unify/data-graph/linked-events/). |
104
101
105
102
Example:
106
103
@@ -348,4 +345,4 @@ Editing the Data Graph may lead to errors with data consumers. If there’s a br
348
345
349
346
## Next steps
350
347
351
-
After you've set up your Data Graph, get started with [Linked Events](/docs/unify/linked-profiles/linked-events/) and [Linked Audiences](/docs/engage/audiences/linked-audiences/).
348
+
After you've set up your Data Graph, get started with [Linked Events](/docs/unify/data-graph/linked-events/) and [Linked Audiences](/docs/engage/audiences/linked-audiences/).
> Linked Audiences is in public beta, and Segment is actively working on this feature. Some functionality may change before it becomes generally available.
10
+
11
+
> warning ""
12
+
> Data Graph currently only supports workspaces in the United States.
13
+
14
+
Use a Data Graph to expand your model beyond the profile to the entire universe of business data. [Linked Audiences](/docs/engage/audiences/linked-audiences/) works best with [Data Graph](/docs/unify/data-graph/data-graph/), and [Linked Events](/docs/unify/data-graph/linked-events/).
15
+
16
+
Build a [Data Graph](/docs/unify/data-graph/data-graph/) that defines relationships between any data set in the warehouse and the Segment Profiles you send with Profiles Sync.
17
+
18
+
You can then enrich your event streams with [Linked Events](/docs/unify/data-graph/linked-events/) and build advanced audiences and segmentation off of any data set you've mapped to the Data Graph with [Linked Audiences](/docs/engage/audiences/linked-audiences/).
19
+
20
+
Using Data Graph, you only need to define the relationships between data sets once to make data accessible to marketers and business stakeholders to build targeted and personalized customer engagements.
21
+
22
+
To get started with Data Graph, connect your data warehouse:
23
+
24
+
-[Snowflake](/docs/unify/data-graph/setup-guides/snowflake-setup/) and [Databricks](/docs/unify/data-graph/setup-guides/databricks-setup/) are supported by both Linked Events and Linked Audiences.
25
+
> -[Redshift](/docs/unify/data-graph/setup-guides/redshift-setup/) and [BigQuery](/docs/unify/data-graph/setup-guides/BigQuery-setup/) are currently supported for Linked Events.
Copy file name to clipboardExpand all lines: src/unify/data-graph/setup-guides/BigQuery-setup.md
+2-5
Original file line number
Diff line number
Diff line change
@@ -5,8 +5,8 @@ plan: unify
5
5
hidden: true
6
6
---
7
7
8
-
> info "Linked Events is in private beta"
9
-
> Linked Events is in private beta, and Segment is actively working on this feature. Some functionality may change before it becomes generally available.
8
+
> info "Linked Audiences is in public beta"
9
+
> Linked Audiences (with Data Graph, Linked Events) is in public beta, and Segment is actively working on this feature. Some functionality may change before it becomes generally available.
10
10
11
11
> info ""
12
12
> At this time, you can only use BigQuery with Linked Events.
@@ -53,6 +53,3 @@ These can be scoped to projects or [datasets](https://cloud.google.com/bigquery/
53
53
54
54
> info ""
55
55
> To create Linked Events on your listed tables, Segment needs `bigquery.tables.get` and `bigquery.tables.getData` at dataset level. However, you can still scope `bigquery.tables.get` and `bigquery.tables.getData` to specific tables. See BigQuery's [docs](https://cloud.google.com/bigquery/docs/control-access-to-resources-iam#grant_access_to_a_table_or_view){:target="_blank"} for more info.
Copy file name to clipboardExpand all lines: src/unify/data-graph/setup-guides/databricks-setup.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -5,8 +5,8 @@ plan: unify
5
5
hidden: true
6
6
---
7
7
8
-
> info "Linked Profiles is in public beta"
9
-
> Linked Profiles (Data Graph, Linked Events, and Linked Audiences) is in public beta, and Segment is actively working on this feature. Some functionality may change before it becomes generally available.
8
+
> info "Linked Audiences is in public beta"
9
+
> Linked Audiences (with Data Graph, Linked Events) is in public beta, and Segment is actively working on this feature. Some functionality may change before it becomes generally available.
10
10
11
11
On this page, you'll learn how to connect your Databricks data warehouse to the Segment Data Graph.
12
12
@@ -136,7 +136,7 @@ Segment requires the following settings to connect to your Databricks warehouse.
136
136
-**Service principal client ID**: The client ID used to access to your Databricks warehouse
137
137
-**OAuth secret**: The OAuth secret used to connect to your Databricks warehouse
138
138
139
-
After identifying the following settings, continue setting up the Data Graph by following the instructions in [Connect your warehouse to the Data Graph](/docs/unify/linked-profiles/data-graph/#step-2-connect-your-warehouse-to-the-data-graph).
139
+
After identifying the following settings, continue setting up the Data Graph by following the instructions in [Connect your warehouse to the Data Graph](/docs/unify/data-graph/data-graph/#step-2-connect-your-warehouse-to-the-data-graph).
140
140
141
141
## Additional set up for warehouse permissions
142
142
@@ -147,4 +147,4 @@ If Segment Reverse ETL has ever run in the catalog you are configuring as the Se
147
147
148
148
```sql
149
149
GRANT ALL PRIVILEGES ON SCHEMA ${segment_internal_catalog}.__segment_reverse_etl TO `${client_id}`;
Copy file name to clipboardExpand all lines: src/unify/data-graph/setup-guides/redshift-setup.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -5,8 +5,8 @@ plan: unify
5
5
hidden: true
6
6
---
7
7
8
-
> info "Linked Events is in private beta"
9
-
> Linked Events is in private beta, and Segment is actively working on this feature. Some functionality may change before it becomes generally available.
8
+
> info "Linked Audiences is in public beta"
9
+
> Linked Audiences (with Data Graph, Linked Events) is in public beta, and Segment is actively working on this feature. Some functionality may change before it becomes generally available.
10
10
11
11
> info ""
12
12
> At this time, you can only use Redshift with Linked Events.
Copy file name to clipboardExpand all lines: src/unify/data-graph/setup-guides/snowflake-setup.md
+13-13
Original file line number
Diff line number
Diff line change
@@ -5,15 +5,15 @@ beta: true
5
5
hidden: true
6
6
---
7
7
8
-
> info "Linked Profiles is in public beta"
9
-
> Linked Profiles (Data Graph, Linked Events, and Linked Audiences) is in public beta, and Segment is actively working on this feature. Some functionality may change before it becomes generally available.
8
+
> info "Linked Audiences is in public beta"
9
+
> Linked Audiences (with Data Graph, Linked Events) is in public beta, and Segment is actively working on this feature. Some functionality may change before it becomes generally available.
10
10
11
11
On this page, you'll learn how to connect your Snowflake data warehouse to Segment.
12
12
13
-
Log in to Snowflake with admin privileges to provide Segment Linked Profiles with the necessary permissions below.
13
+
Log in to Snowflake with admin privileges to provide Segment Data Graph with the necessary permissions below.
14
14
15
15
> info ""
16
-
> Both Linked Events and Linked Profiles support Snowflake.
16
+
> Both Linked Events and Data Graph support Snowflake.
17
17
18
18
## Required connection settings within Segment
19
19
@@ -29,15 +29,15 @@ Segment requires the following settings to connect to your Snowflake warehouse.
29
29
30
30
## Set up Snowflake credentials
31
31
32
-
Segment recommends setting up a new Snowflake user and only giving this user permissions to access the required databases and schemas for Segment Linked Profiles.
32
+
Segment recommends setting up a new Snowflake user and only giving this user permissions to access the required databases and schemas.
33
33
34
34
### Create Segment user and internal database
35
35
36
36
Use the following steps to set up your Snowflake credentials:
37
37
38
-
- Create a new role and user for Segment Linked Profiles.
38
+
- Create a new role and user for Segment Data Graph.
39
39
- Grant the Segment user access to the warehouse of your choice. If you'd like to create a new warehouse, uncomment the SQL below.
40
-
- Create a new database for Segment Linked Profiles. Segment only requires write access to this one database to create a schema for internal bookkeeping, and to store checkpoint tables for the queries that are executed. Segment recommends creating an empty database for this purpose using the script below. This is also the database you'll be required to specify for the "Database Name" when connecting Snowflake with the Segment app.
40
+
- Create a new database for Segment Data Graph. Segment only requires write access to this one database to create a schema for internal bookkeeping, and to store checkpoint tables for the queries that are executed. Segment recommends creating an empty database for this purpose using the script below. This is also the database you'll be required to specify for the "Database Name" when connecting Snowflake with the Segment app.
41
41
42
42
```
43
43
-- ********** SET UP THE FOLLOWING WAREHOUSE PERMISSIONS **********
@@ -63,16 +63,16 @@ SET segment_connection_db = 'SEGMENT_LINKED_PROFILES_DB';
63
63
-- Use admin role for setting grants
64
64
USE ROLE ACCOUNTADMIN;
65
65
66
-
-- Create a role for Segment Linked Profiles
66
+
-- Create a role for Segment Data Graph
67
67
CREATE ROLE IF NOT EXISTS identifier($segment_connection_role)
68
-
COMMENT = 'Used for Segment Linked Profiles';
68
+
COMMENT = 'Used for Segment Data Graph';
69
69
70
-
-- Create a user for Segment Linked Profiles
70
+
-- Create a user for Segment Data Graph
71
71
CREATE USER IF NOT EXISTS identifier($segment_connection_username)
72
72
MUST_CHANGE_PASSWORD = FALSE
73
73
DEFAULT_ROLE = $segment_connection_role
74
74
PASSWORD=$segment_connection_password
75
-
COMMENT='Segment Linked Profiles User'
75
+
COMMENT='Segment Data Graph User'
76
76
TIMEZONE='UTC';
77
77
78
78
-- Grant permission to the role to use the warehouse
@@ -91,9 +91,9 @@ GRANT CREATE SCHEMA ON DATABASE identifier($segment_connection_db) TO ROLE iden
91
91
92
92
### Grant access to other databases
93
93
94
-
Next, give the Segment user **read-only** access to all the other databases you want to use for Linked Profiles. You must grant access to the Profiles Sync database.
94
+
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.
95
95
96
-
Run the SQL query below for **each** database you want to use for Linked Profiles:
96
+
Run the SQL query below for **each** database you want to use for Data Graph:
0 commit comments