Skip to content

Commit e55d36e

Browse files
authored
Merge pull request #6349 from segmentio/add-linked-events-faq
Add FAQ to Linked Events
2 parents bb95cfe + 438b68c commit e55d36e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/unify/linked-profiles/linked-events.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,17 @@ Linked Events uses the existing Audit Trail in your Segment workspace. To view y
205205

206206
You can define a schedule for refreshing the linked data from your data warehouse.
207207

208+
#### How do I use entities in my data graph with Linked Events?
208209

210+
To use entities with Linked Events, you'll need to set the `enrichment_enabled` flag to `true`. Here's the sample code:
209211

212+
```python
213+
# Define an entity and indicate if the entity will be referenced for Linked Events (enrichment_enabled=true)
210214

215+
entity "account-entity" {
216+
name = "account"
217+
table_ref = "CUST.ACCOUNT"
218+
primary_key = "id"
219+
enrichment_enabled = true
220+
}
221+
```

0 commit comments

Comments
 (0)