Setting up Vercel
Last updated
Last updated
Forwarding logs to our platform is a necessary step in setting up your Valyu integration. This process enables us to provide comprehensive analytics on bot traffic and other metrics, offering a centralised view of your bot traffic. Check below for the instructions to sey up analytics for your specific CDN.
Before setting up logging make sure you have onboarded your domain on the Valyu Exchange platform.
To forward logs from Vercel, first go to the team settings tab in your project and select Log Drains.
Then, follow the screenshots below to configure your settings:
Select All team projects to add logging to all your projects.
If not select which projects you would like to add logging for.
(If you select all or multiple projects please ensure that you add each separate project as its own domain so that you can view bot analytics for each)
Add https://internal.api.valyu.network/v1/vercel as your endpoint.
Set "x-vercel-valyu-verify" as a header key and copy the verify URL ownership header as the header value.
Set "x-api-key" as a header key and pass your Valyu api key as the header value.
Once this has set up your logging will be set up and you will be able to view your Bot Traffic on the Valyu Exchange platform.