Skip to content

Commit 3dc3806

Browse files
authored
(EAI-1081) Add link to FAQ doc in Chatbot message feed (#766)
1 parent e022867 commit 3dc3806

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

packages/mongodb-chatbot-ui/src/MongoDbLegal.tsx

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,33 @@ export function MongoDbLegalDisclosureText() {
3434
);
3535
}
3636

37+
export function MongoDbDataUsagePolicyText() {
38+
const { tck } = useLinkData();
39+
const DataUsagePolicy = () => (
40+
<Link
41+
hideExternalIcon
42+
href={addQueryParams(
43+
"https://www.mongodb.com/docs/ai-chatbot-data-usage/",
44+
{ tck }
45+
)}
46+
>
47+
Data Usage Policy
48+
</Link>
49+
);
50+
return (
51+
<>
52+
To learn more about how we use your data, please see our{" "}
53+
<DataUsagePolicy />.
54+
</>
55+
);
56+
}
57+
3758
export function MongoDbLegalDisclosure() {
3859
return (
3960
<Body>
4061
<MongoDbLegalDisclosureText />
62+
<br />
63+
<MongoDbDataUsagePolicyText />
4164
</Body>
4265
);
4366
}

0 commit comments

Comments
 (0)