Skip to content

Commit b2b93b7

Browse files
Merge branch 'develop' into DOC-974
2 parents fbbb43d + 84e19a4 commit b2b93b7

File tree

7 files changed

+48
-45
lines changed

7 files changed

+48
-45
lines changed

src/connections/destinations/catalog/bucket-web/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: 'Bucket Web (Actions) Destination'
33
id: 656dc9330d1863a8870bacd1
4+
hidden: true
45
versions:
56
- name: "Bucket (Classic)"
67
link: '/docs/connections/destinations/catalog/bucket'

src/connections/destinations/catalog/bucket/index.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
title: Bucket Destination
33
rewrite: true
44
id: 5fabc0b00f88248bbce4db48
5-
versions:
6-
- name: "Bucket Web (Actions)"
7-
link: '/docs/connections/destinations/catalog/bucket-web'
85
---
96

107
[Bucket](https://bucket.co/?utm_source=segmentio&utm_medium=docs&utm_campaign=partners){:target="blank"} is feature-focused analytics. Bucket empowers software teams with a repeatable approach to shipping features that customers crave.

src/connections/reverse-etl/setup.md

Lines changed: 30 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Follow these 4 steps to set up Reverse ETL:
1414
4. [Create mappings](#step-4-create-mappings)
1515

1616
## Step 1: Add a source
17-
A source is where your data originates from. Traditionally in Segment, a [source](/docs/connections/sources/#what-is-a-source) is a website, server library, mobile SDK, or cloud application which can send data into Segment. In Reverse ETL, your data warehouse is the source.
17+
In Reverse ETL, a source is your data warehouse.
1818

1919
> warning ""
2020
> You need to be a user that has both read and write access to the warehouse.
@@ -24,52 +24,38 @@ To add your warehouse as a source:
2424
1. Navigate to **Connections > Sources** and select the **Reverse ETL** tab in the Segment app.
2525
2. Click **+ Add Reverse ETL source**.
2626
3. Select the source you want to add.
27-
4. Follow the corresponding setup guide for your Reverse ETL source:
27+
4. Follow the corresponding guide to set up the required permissions for your Reverse ETL source:
2828
- [Azure Reverse ETL setup guide](/docs/connections/reverse-etl/reverse-etl-source-setup-guides/azure-setup)
2929
- [BigQuery Reverse ETL setup guide](/docs/connections/reverse-etl/reverse-etl-source-setup-guides/bigquery-setup)
3030
- [Databricks Reverse ETL setup guide](/docs/connections/reverse-etl/reverse-etl-source-setup-guides/databricks-setup)
3131
- [Postgres Reverse ETL setup guide](/docs/connections/reverse-etl/reverse-etl-source-setup-guides/postgres-setup)
3232
- [Redshift Reverse ETL setup guide](/docs/connections/reverse-etl/reverse-etl-source-setup-guides/redshift-setup)
3333
- [Snowflake Reverse ETL setup guide](/docs/connections/reverse-etl/reverse-etl-source-setup-guides/snowflake-setup)
3434

35-
After you add your data warehouse as a source, you can [add a model](#step-2-add-a-model) to your source.
36-
3735
## Step 2: Add a model
38-
Models are SQL queries that define sets of data you want to synchronize to your Reverse ETL destinations. After you add your source, you can add a model.
39-
40-
> info "Use Segment's dbt extension to centralize model management and versioning"
41-
> Users who set up a BigQuery, Databricks, Postgres, Redshift, or Snowflake source can use Segment's [dbt extension](/docs/segment-app/extensions/dbt/) to centralize model management and versioning, reduce redundancies, and run CI checks to prevent breaking changes.
42-
>
43-
> Extensions is currently in public beta and is governed by Segment's [First Access and Beta Preview Terms](https://www.twilio.com/en-us/legal/tos){:target="_blank"}. During Public Beta, Extensions is available for Team and Developer plans only. [Reach out to Segment](mailto:[email protected]) if you're on a Business Tier plan and would like to participate in the Public Beta.
36+
Models define sets of data you want to sync to your Reverse ETL destinations. A source can have multiple models. Segment supports [SQL models](/docs/connections/reverse-etl/setup/#step-4-create-mappings) and [dbt models](/docs/segment-app/extensions/dbt/).
4437

45-
To add your first model:
38+
### SQL editor
4639
1. Navigate to **Connections > Sources** and select the **Reverse ETL** tab. Select your source and click **Add Model**.
4740
2. Click **SQL Editor** as your modeling method. (Segment will add more modeling methods in the future.)
48-
3. Enter the SQL query that’ll define your model. Your model is used to map data to your Reverse ETL destinations.
41+
3. Enter the SQL query that’ll define your model. Your model is used to map data to your Reverse ETL destination(s).
4942
4. Choose a column to use as the unique identifier for each record in the **Unique Identifier column** field.
50-
* The Unique Identifier should be a column with unique values per record to ensure checkpointing works as expected. It can potentially be a primary key. This column is used to detect new, updated, and deleted records.
51-
5. Click **Preview** to see a preview of the results of your SQL query. The data from the preview is extracted from the first 10 records of your warehouse.
43+
* The Unique Identifier should be a column with unique values per record to ensure checkpointing works as expected, like a primary key. This column is used to detect new, updated, and deleted records.
44+
5. Click **Preview** to see a preview the first 10 records for the SQL query.
5245
* Segment caches preview queries and result sets in the UI, and stores the preview cache at the source level. If you make two queries for the same source, Segment returns identical preview results. However, during the next synchronization, the latest data will be sent to the connected destinations.
5346
6. Click **Next**.
5447
7. Enter your **Model Name**.
5548
8. Click **Create Model**.
5649

57-
To add multiple models to your source, repeat steps 1-8 above.
58-
59-
### Edit your model
60-
61-
To edit your model:
62-
1. Navigate to **Connections > Destinations** and select the **Reverse ETL** tab.
63-
2. Select the source and the model you want to edit.
64-
3. On the overview tab, click **Edit** to edit your query.
65-
4. Click the **Settings** tab to edit the model name or change the schedule settings.
50+
### dbt model
51+
Use Segment's dbt extension to centralize model management and versioning. Users who set up a BigQuery, Databricks, Postgres, Redshift, or Snowflake source can use Segment's [dbt extension](/docs/segment-app/extensions/dbt/) to centralize model management and versioning, reduce redundancies, and run CI checks to prevent breaking changes.
6652

6753
## Step 3: Add a destination
68-
Once you’ve added a model, you need to add a destination. In Reverse ETL, destinations are the business tools or apps you use that Segment syncs the data from your warehouse to.
54+
In Reverse ETL, destinations are the business tools or apps you use that Segment syncs the data from your warehouse to. A model can have multiple destinations.
6955

70-
Reverse ETL supports 30+ destinations: see all destinations listed in the [Reverse ETL catalog](/docs/connections/reverse-etl/reverse-etl-catalog/). If the destination you want to send data to is not listed in the Reverse ETL catalog, use the [Segment Connections Destination](/docs/connections/reverse-etl/reverse-etl-catalog/#segment-connections-destination) to send data from your Reverse ETL warehouse to your destination.
71-
72-
Engage users can use the [Segment Profiles Destination](/docs/connections/destinations/catalog/actions-segment-profiles/) to create and update [Profiles](/docs/unify/) that can then be accessed through [Profile API](/docs/unify/profile-api/) and activated within [Twilio Engage](/docs/engage).
56+
Refer to the [Reverse ETL catalog](/docs/connections/reverse-etl/reverse-etl-catalog/) to view the supported actions destinations. Reverse ETL supports to unique destinations:
57+
- **[Segment Connections Destination](/docs/connections/reverse-etl/reverse-etl-catalog/#segment-connections-destination)**: Send warehouse data back into Segment to leverage your existing mappings or access non-actions destinations in the Connections catalog.
58+
- **[Segment Profiles Destination](/docs/connections/destinations/catalog/actions-segment-profiles/)**: Engage Premier Subscriptions users can use Reverse ETL to sync subscription data from their warehouses to destinations.
7359

7460
> info "Separate endpoints and credentials required to set up third party destinations"
7561
> Before you begin setting up your destinations, note that each destination has different authentication requirements. See the documentation for your intended destination for more details.
@@ -84,7 +70,7 @@ To add your first destination:
8470
7. Navigate to the destination settings tab and enable the destination. If the destination is disabled, then Segment won't be able to start a sync.
8571

8672
## Step 4: Create mappings
87-
After you’ve added a destination, you can create mappings from your warehouse to the destination. Mappings enable you to map the data you extract from your warehouse to the fields in your destination.
73+
Mappings enable you to map the data you extract from your warehouse to the fields in your destination. A destination can have multiple mappings.
8874

8975
To create a mapping:
9076
1. Navigate to **Connections > Destinations** and select the **Reverse ETL** tab.
@@ -105,24 +91,28 @@ To create a mapping:
10591
<!---* _(Optional)_ Use the [Suggested Mappings](#suggested-mappings) feature to identify and match near-matching field names to streamline the field mapping process. -->
10692
8. In the **Send test record section**, select a test record to preview the fields that you mapped to your destination. When you've verified that the records appear as expected, click **Next**.
10793
9. Enter a name for your mapping. The name initially defaults to the Action's name, for example, `Track Event`, but you can make changes to this default name.
108-
9. Select the Schedule type for the times you want the model’s data to be extracted from your warehouse. You can choose from:
109-
* **Interval**: Extractions perform based on a selected time cycle.
94+
10. Select how often you want Segment to sync your data under **Schedule configuration**.
95+
* **Interval**: Extractions perform based on a selected time cycle. Select one of the following options: 15 minutes, 30 minutes, 1 hour, 2 hours, 4 hours, 6 hours, 8 hours, 12 hours, 1 day.
11096
* **Day and time**: Extractions perform at specific times on selected days of the week.
111-
10. Select how often you want the schedule to sync in **Schedule configuration**.
112-
* For an **Interval** schedule type, you can choose from: 15 minutes, 30 minutes, 1 hour, 2 hours, 4 hours, 6 hours, 8 hours, 12 hours, 1 day.
113-
* 15 minutes is considered real-time for warehouse syncs
114-
* For a **Day and time** schedule type, you can choose the day(s) you’d like the schedule to sync as well as the time.
115-
* You can only choose to start the extraction at the top of the hour.
116-
* Scheduling multiple extractions to start at the same time inside the same data warehouse causes extraction errors.
97+
11. Select the destination you’d like to enable on the **My Destinations** page under **Reverse ETL > Destinations**.
98+
12. Turn the toggle on for the **Mapping Status**. Events that match the trigger condition in the mapping will be sent to the destination.
99+
* If you disable the mapping state to the destination, events that match the trigger condition in the mapping won’t be sent to the destination.
100+
101+
## Initial sync for a given mapping
102+
After you've set up your source, model, destination, and mappings for Reverse ETL, your data will extract and sync to your destination(s) right away if you chose an interval schedule. If you set your data to extract at a specific day and time, the extraction will take place then.
117103

118-
To add multiple mappings from your warehouse to your destination, repeat steps 1-10 above.
104+
## Edit Reverse ETL syncs
105+
### Edit your model
106+
107+
To edit your model:
108+
1. Navigate to **Connections > Destinations** and select the **Reverse ETL** tab.
109+
2. Select the source and the model you want to edit.
110+
3. On the overview tab, click **Edit** to edit your query.
111+
4. Click the **Settings** tab to edit the model name or change the schedule settings.
119112

120113
### Edit your mapping
121114

122115
To edit your mapping:
123116
1. Navigate to **Connections > Destinations** and select the **Reverse ETL** tab.
124117
2. Select the destination and the mapping you want to edit.
125118
3. Select the **...** three dots and click **Edit mapping**. If you want to delete your mapping, select **Delete**.
126-
127-
## Using Reverse ETL
128-
After you've set up your source, model, destination, and mappings for Reverse ETL, your data will extract and sync to your destination(s) right away if you chose an interval schedule. If you set your data to extract at a specific day and time, the extraction will take place then.

src/connections/sources/catalog/libraries/website/javascript/troubleshooting.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,18 @@ var writeKey;
3030
ENV === 'production' ? writeKey = 'A' : writeKey = 'B';
3131
```
3232

33+
## How do I resolve the 'Failed to Load Analytics.js ChunkLoadError'?
34+
35+
The error can occur for different reasons:
36+
37+
* Snippet syntax: Ensure you correctly added the Segment snippet to the page. Check for any missing or extra characters. Follow [this guide](/docs/connections/sources/catalog/libraries/website/javascript/quickstart/#step-2-install-segment-to-your-site).
38+
39+
* NPM package: If you're using Segment through NPM, refer to [this guide](/docs/connections/sources/catalog/libraries/website/javascript/quickstart/#step-2b-install-segment-as-a-npm-package).
40+
41+
* Browser cache: Clear the browser cache, as this is a common cause for `ChunkLoadError`.
42+
43+
* Cloudflare caching: If you use Cloudflare to proxy Segment, disable caching for the Segment JS file.
44+
3345
## Do you see events appear in your debugger?
3446

3547
When you reload the page, does your debugger show a new [`page`](/docs/connections/spec/page)? You can also check the JavaScript console in the browser and manually fire an event, like an Identify call, which would show up in the debugger.

src/connections/storage/data-lakes/data-lakes-manual-setup.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ Add a policy to the role created above to give Segment access to the relevant Gl
138138
"elasticmapreduce:DescribeCluster",
139139
"elasticmapreduce:CancelSteps",
140140
"elasticmapreduce:AddJobFlowSteps"
141+
"elasticmapredue:AddTags"
141142
],
142143
"Effect": "Allow",
143144
"Resource": "*",

src/privacy/faq.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,5 +79,6 @@ Segment supports the following regulation types:
7979
- **DELETE_INTERNAL**: Deletes user data from within Segment archives only and not from any connected destinations.
8080
- **DELETE_ONLY**: Deletes user data from Segment and your connected warehouses. Also sends a deletion request to your downstream destinations.
8181

82-
> info ""
82+
83+
> info ""
8384
> Using **SUPPRESS_WITH_DELETE** or **DELETE_ONLY** regulation types might lead to additional charges levied by your destination providers.

src/privacy/user-deletion-and-suppression.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ The following regulation types are available:
3131
- **SUPPRESS_WITH_DELETE_INTERNAL:** Suppress new data and delete from Segment internals only
3232
- **DELETE_ONLY:** Delete existing data without suppressing any new data
3333

34-
> info ""
34+
35+
> info ""
3536
> Using **SUPPRESS_WITH_DELETE** or **DELETE_ONLY** regulation types might lead to additional charges levied by your destination providers.
3637
3738
## Suppression Support and the Right to Revoke Consent

0 commit comments

Comments
 (0)