Skip to content

Commit 050eed2

Browse files
authored
Document how to configure api.eu.intercom.io
closes #285
1 parent d5be63f commit 050eed2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,13 @@ Create a client using access tokens:
5858
var client = new Intercom.Client({ token: 'my_token' });
5959
```
6060

61+
If you are using the EU service you can configure like the following:
62+
63+
```node
64+
var client = new Intercom.Client({token: 'my_token' });
65+
client.useRequestOpts({ baseUrl: 'https://api.eu.intercom.io' })
66+
```
67+
6168
## Callbacks
6269

6370
This client library supports two kinds of callbacks:

0 commit comments

Comments
 (0)