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/linked-profiles/linked-events.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ With Linked Events, you can:
24
24
25
25
Before getting started with Linked Events, you'll need:
26
26
27
-
1.Snowflake, BigQuery, or Redshift data warehouse credentials with **write** access.
27
+
1.BigQuery, Snowflake, or Redshift data warehouse credentials with **write** access.
28
28
- View the [BigQuery](/docs/unify/linked-profiles/setup-guides/bigquery-setup/), [Snowflake](/docs/unify/linked-profiles/setup-guides/snowflake-setup/), and [Redshift](/docs/unify/linked-profiles/setup-guides/redshift-setup/) setup guides.
29
29
2. Access to Unify in your workspace.
30
30
3. Access to the Destination you'll be using with Linked Events so that you can validate your data.
@@ -56,7 +56,7 @@ To use Connections with Linked Events:
56
56
> success ""
57
57
> Linked Events uses Segment's [Reverse ETL](/docs/connections/reverse-etl/) infrastructure for pulling in data from your warehouse.
58
58
59
-
To get started, you'll need to connect a data warehouse. Linked Events supports [BigQuery](/docs/unify/linked-profiles/setup-guides/bigquery/), [Snowflake](/docs/unify/linked-profiles/setup-guides/snowflake/), and [Redshift](/docs/unify/linked-profiles/setup-guides/redshift-setup/) data warehouses.
59
+
To get started, you'll need to connect a data warehouse. Linked Events supports [BigQuery](/docs/unify/linked-profiles/setup-guides/bigquery/), [Snowflake](/docs/unify/linked-profiles/setup-guides/snowflake/), and [Redshift](/docs/unify/linked-profiles/setup-guides/redshift-setup/).
60
60
61
61
1. Navigate to **Unify > Data graph** and click **Add warehouse**.
62
62
2. Select a warehouse to connect from the [supported data warehouses](#supported-data-warehouses).
@@ -80,12 +80,12 @@ The table below shows the data warehouses Linked Events supports. View the Segme
|[Snowflake](docs/unify/linked-profiles/setup-guides/snowflake-setup/)| 1. Configure your snowflake database. <br> 2. Enter your credentials. <br> 3. Test the Connection. <br> 4. Click **Save**. |
83
-
|[BigQuery](/docs/unify/linked-profiles/setup-guides/bigquery-setup/)| 1. Add your credentials to the database that has tables with the Entities you want to enrich your event with. <br> 2. Test your connection. |
83
+
|[BigQuery](/docs/unify/linked-profiles/setup-guides/bigquery-setup/)| 1. Add your credentials to the database that has tables with the entities you want to enrich your event with. <br> 2. Test your connection. |
84
84
|[Redshift](/docs/unify/linked-profiles/setup-guides/redshift-setup/)| 1. Select the Redshift cluster you want to connect. <br> 2. [Configure](/docs/connections/storage/catalog/redshift/#networking) the correct network and security settings. |
85
85
86
86
## Step 2: Add entities
87
87
88
-
After you connect your warehouse, use the Data graph overview screen (**Unify > Data graph**) to view entities Segment has synced from your data warehouse, add a new entity, and view data warehouse settings.
88
+
After you connect your warehouse, use the Data graph overview page (**Unify > Data graph**) to view entities Segment has synced from your data warehouse, add a new entity, and view data warehouse settings.
89
89
90
90
To add a new entity:
91
91
1. Click **Add entity**.
@@ -109,7 +109,7 @@ To use Linked Events, you'll need to add a destination to send enriched events t
109
109
## Step 4: Enrich events with entities
110
110
With Linked Events, you can select entities and properties from your data warehouse, then add enrichments to map properties to your connected destination.
111
111
112
-
Add entities and enrichments from the destination Mappings tab:
112
+
To enrich events with entities:
113
113
114
114
1. Navigate to **Connections > Destinations > Event streams**
115
115
2. Select the destination you'd like to create an enrichment on.
@@ -125,7 +125,7 @@ After you load a sample event, you can add entities from the **Enrich events wit
125
125
- The entity match property is the property in the event that you want to match to the primary key.
126
126
127
127
After you’ve added an entity and match property, add your event enrichments.
128
-
128
+
129
129
### Add enrichments
130
130
131
131
Use enrichments to select the entity you wish to send to your downstream destination.
@@ -175,7 +175,7 @@ For Linked Events, Segment supports all Actions Destinations.
175
175
176
176
{% faqitem Why aren't test events working? %}
177
177
178
-
Test events don't send Linked Events, it only sends the test events that come from the source debugger, which is ahead of the event enrichment.
178
+
Test events don't send Linked Events. You'll only see test events that come from the source debugger, which is ahead of the event enrichment.
Copy file name to clipboardExpand all lines: src/unify/linked-profiles/setup-guides/redshift-setup.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,11 +10,11 @@ On this page, you'll learn how to connect your Redshift data warehouse to Segmen
10
10
11
11
To get started with Redshift:
12
12
1. Log in to Redshift and select the Redshift cluster you want to connect.
13
-
2. Follow [these instructions](/docs/connections/storage/catalog/redshift/#networking) to configure network and security settings.
13
+
2. Follow [these networking instructions](/docs/connections/storage/catalog/redshift/#networking) to configure network and security settings.
14
14
15
15
## Create a new role and user
16
16
17
-
Run the SQL commands below to create a role `(segment_entities)` and user `(segment_entities_user)`.
17
+
Run the SQL commands below to create a role (`segment_entities`) and user (`segment_entities_user`).
18
18
19
19
```sql
20
20
-- create role
@@ -36,7 +36,7 @@ You'll need to grant access to schemas and tables that you'd like to enrich with
36
36
37
37
### Schemas
38
38
39
-
Grant schema permissions based on customer need. Visit Amazon's docs for more on [schema permissions](https://docs.aws.amazon.com/redshift/latest/dg/r_GRANT.html){:target="_blank"} and to view[example commands](https://docs.aws.amazon.com/redshift/latest/dg/r_GRANT-examples.html){:target="_blank"} that you can use to grant permissions.
39
+
Grant schema permissions based on customer need. Visit Amazon's docs to view [schema permissions](https://docs.aws.amazon.com/redshift/latest/dg/r_GRANT.html){:target="_blank"} and [example commands](https://docs.aws.amazon.com/redshift/latest/dg/r_GRANT-examples.html){:target="_blank"} that you can use to grant permissions.
40
40
41
41
```ts
42
42
--viewspecificschemasindatabase
@@ -45,7 +45,7 @@ GRANT USAGE ON SCHEMA <schema-name> TO ROLE segment_entities;
45
45
46
46
### Tables
47
47
48
-
Grant table permissions based on customer need. View descriptions of [table permissions](https://docs.aws.amazon.com/redshift/latest/dg/r_GRANT.html){:target="_blank"} from Amazon.
48
+
Grant table permissions based on customer need. Learn more about Amazon's [table permissions](https://docs.aws.amazon.com/redshift/latest/dg/r_GRANT.html){:target="_blank"}.
49
49
50
50
```ts
51
51
--querydatafromaspecifictableinaschema
@@ -54,7 +54,7 @@ GRANT SELECT ON TABLE <schema-name>.<table-name> TO ROLE segment_entities;
54
54
55
55
### RETL table permissions
56
56
57
-
If you've used RETL in your database, and added a new user, you'll need to add the following [table permissions](https://docs.aws.amazon.com/redshift/latest/dg/r_GRANT.html){:target="_blank"}:
57
+
If you've used RETL in your database, you'll need to add the following [table permissions](https://docs.aws.amazon.com/redshift/latest/dg/r_GRANT.html){:target="_blank"}:
Copy file name to clipboardExpand all lines: src/unify/linked-profiles/setup-guides/snowflake-setup.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,7 +68,7 @@ Enter and run the code below to create the username and password combination tha
68
68
69
69
To use Linked Events, you'll need to grant access to `segment_entities_user` for the schemas and tables you'd like to read from to perform enrichments.
70
70
71
-
These tables need to live in the same database as the one used for storing sync deltas. You can give as broad or narrow of access as you require. If you give broad access to multiple schemas, you can sort through the schemas in the Segment UI to select the appropriate tables to create models from.
71
+
These tables need to live in the same database as the one used for storing sync deltas. You can give as broad or narrow of access as you require. If you give broad access to multiple schemas, you can sort through the schemas in Segment to select the appropriate tables to create models from.
72
72
73
73
> success ""
74
74
> Visit Snowflake's docs to learn more about [schema priveleges](https://docs.snowflake.com/en/user-guide/security-access-control-privileges#schema-privileges){:target="_blank"} and [table priveleges](https://docs.snowflake.com/en/user-guide/security-access-control-privileges#table-privileges){:target="_blank"}.
@@ -102,7 +102,7 @@ GRANT SELECT ON TABLE <schema-name>.<table_name> TO ROLE segment_entities;
102
102
103
103
### RETL table permissions
104
104
105
-
If Reverse ETL has ever run in your database, a Segment-managed schema is created and a new user is added. You'll need to add the following [table permissions](https://docs.snowflake.com/en/user-guide/security-access-control-privileges#table-privileges) with the command below.
105
+
If you've ever run Reverse ETL in your database, you'll need to add the following [table permissions](https://docs.snowflake.com/en/user-guide/security-access-control-privileges#table-privileges){:target="_blank"}:
106
106
107
107
```sql
108
108
GRANT USAGE ON SCHEMA __segment_reverse_etl TO ROLE segment_entities;
@@ -116,7 +116,7 @@ GRANT SELECT, INSERT, UPDATE, DELETE ON ALL TABLES IN SCHEMA __segment_reverse_e
116
116
117
117
To confirm table permissions:
118
118
1. Log in as the user you've created (`segment_entities_user`).
119
-
2. Verify the role created has the correct permissions with the following command:
119
+
2. Verify the role created has the correct permissions with the commands below.
0 commit comments