Skip to content

Commit 398f703

Browse files
author
Antoine Kevin
committed
Merge pull request #256 from intercom/Skaelv-patch-1
Update README.md
2 parents 6f5024c + c183096 commit 398f703

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,17 @@ Using bundler:
3030

3131
```ruby
3232
intercom = Intercom::Client.new(app_id: 'my_app_id', api_key: 'my_api_key')
33+
```
34+
35+
You can get your `app_id` from the URL when you're logged into Intercom (it's the alphanumeric just after `/apps/`) and your API key from the API keys integration settings page (under your app settings - integrations in Intercom).
3336

37+
```ruby
3438
# With an OAuth token:
3539
intercom = Intercom::Client.new(token: 'my_token')
3640
```
3741

38-
You can get your `app_id` from the URL when you're logged into Intercom (it's the alphanumeric just after `/apps/`) and your API key from the API keys integration settings page (under your app settings - integrations in Intercom).
42+
If you are building a third party application you can get your access_tokens by [setting-up-oauth](https://developers.intercom.io/page/setting-up-oauth) for Intercom.
43+
You can also use the [omniauth-intercom lib](https://github.com/intercom/omniauth-intercom) which is a middleware helping you to handle the authentication process with Intercom.
3944

4045
### Resources
4146

0 commit comments

Comments
 (0)