createIntegration
Last updated
Was this helpful?
Last updated
Was this helpful?
The createIntegration()
method is the main entry point for your app or integration. It provides the context for GitBook around how your app should look and behave.
The createIntegration()
method can take 3 optional arguments, and must be exported from the main script executed in your app's gitbook-manifest.yaml
file. See the Configurations section for more info.
fetch
function
An async fetch event used to communicate with the GitBook API to make requests. See the section to learn more.
components
array
The component(s) to expose in your integration. See the section for more info.
events
object
An object allowing you to react to GitBook events. See the for more information.