TIP
Prefer video? Watch the Beacon installation video.
Installing the Beacon Client
To use Beacon with Pennant in your application, you need to:
- Install the Pennant driver
- Configure your Application
Install the Pennant Driver
To install the Pennant driver, run the following command in your terminal:
bash
composer require beacon-hq/pennant-driver
Configure Your Application
Add the PENNANT_STORE
and BEACON_ACCESS_TOKEN
environment variables to your .env
file:
dotenv
PENNANT_STORE=beacon
BEACON_ACCESS_TOKEN=<token>
Create your access token in the API Token Settings.