To connect an app to the API, you will need to have access enabled.
You can refer to this topic on how to set it up: