Skip to content

GabrielAnca/example-intercom-php-canvas-kit-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Intercom Canvas Kit app built in PHP

This example was tested using PHP 7.4

demo-gif

See the complete API reference in the documentation.

Set up

Just boot the application:

composer install
symfony server:start --port:8001

To point Intercom traffic to this environment, you can use ngrok:

ngrok http 8001

Create an app in Intercom's Developer Hub, with a Canvas Kit app pointing to this environment:

  • For users, leads and visitors:
    • Initialize flow webhook URL: https://<my-ngrok-id>.ngrok.io/messenger_app/initialize
    • Submit flow webhook URL: https://<my-ngrok-id>.ngrok.io/messenger_app/submit

Implementation for teammates would be very similar.

About

Example Intercom Canvas Kit app with PHP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages