forked from GitbookIO/integrations
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgitbook-manifest.yaml
82 lines (77 loc) · 2.57 KB
/
gitbook-manifest.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
name: intercom
title: Intercom
icon: ./assets/icon.png
description: Add the Intercom chat widget to your published GitBook content
previewImages:
- ./assets/intercom-preview.png
externalLinks:
- label: Documentation
url: https://www.gitbook.com/integrations/intercom
visibility: public
script: ./src/index.ts
# The following scope(s) are available only to GitBook Staff
# See https://developer.gitbook.com/integrations/configurations#scopes
scopes:
- space:script:inject
- space:script:cookies
contentSecurityPolicy:
script-src: |
https://js.intercomcdn.com
https://widget.intercom.io
https://app.intercom.io;
style-src: |
'unsafe-inline';
frame-src: |
www.intercom-reporting.com;
child-src: |
www.intercom-reporting.com
intercom-sheets.com
www.youtube.com
player.vimeo.com
fast.wistia.net;
img-src: |
data:
blob:
static.intercomassets.com
*.intercomcdn.com
*.intercom-mail.com
*.intercom.io
*.intercomusercontent.com
*.intercom-attachments-1.com
*.intercom-attachments-2.com
*.intercom-attachments-3.com
*.intercom-attachments-5.com
*.intercom-attachments-6.com
*.intercom-attachments-7.com
*.intercom-attachments-9.com;
font-src: |
js.intercomcdn.com
fonts.intercomcdn.com;
connect-src: |
*.intercom.io
wss://*.intercom.io
uploads.intercomcdn.com
uploads.intercomusercontent.com;
form-action: |
api-iam.intercom.io
intercom.help;
media-src: |
*.intercomcdn.com;
summary: |
# Overview
The Intercom integration for GitBook allows you to display the Intercom chat widget on your public documentation to connect and interact with your readers.
# How it works
Automatic chat widget on your documentation: Each of your connected GitBook spaces will fetch the Intercom chat widget script and inject it in your published content.
# Configure
You can configure the integration on single or multiple public spaces by navigating to the integrations in sub-navigation or org settings. You will then have to provide Application ID to finish the configuration.
categories:
- analytics
configurations:
space:
properties:
app_id:
type: string
title: Application ID
description: You can find it in your Intercom account, under the "Installation" section of the "Settings" page.
required:
- app_id