-
-
Notifications
You must be signed in to change notification settings - Fork 73
Lens Creator Guide
- Go to: https://my-lenses.snapchat.com/camera-kit
- Log-in or Sign-up for a new developer account
- Navigate to the Apps section
- Click on the Enable App button
- Click the Select App dropdown box
- Choose + Create App
- Pick any name for your web app
- Select Web as your target platform
- Confirm your app in the next step by ticking the checkboxes
- Click the Enable button
Your app will be created and you will be redirected to the overview page
Now you need to copy your Staging API Token
And paste the string to BRIDGE_API_TOKEN in your .env file
###########################
# For Lens Creators
###########################
# Lens creators require an official API token in order to access their own lenses
#
# Get your own API token at:
# https://my-lenses.snapchat.com/camera-kit
#
# 1. Sign-in/Register
# 2. Create a new 'Web App'
# 3. Copy&Paste 'Staging API Token' below
#
BRIDGE_API_TOKEN=You can now start the Docker Server with:
docker compose --profile creator up This will load and start an additonal Docker container to import Lenses from your Snapchat account.
You should run the command above only if you want to import new Lenses .
Once you activate your Lenses inside Snap Camera, they are fully imported.
You must group your lenses together with the Lens Scheduler
You can create a New Lens Group and add multiple or single Lenses to them.
If your Lenses are not showing up for selection you have to put them in Lens Folders first (see the next step 2.2).
After putting them in Folders you can add the folders under the Lens Sources tab.
To make your Lenses available under Lens Scheduler follow the official Snapchat Guide.
Clicking on any Lens Group will enable you to view and copy the Lens Group ID
If you set up the API Token in your .env file as described in 1.3
And started Snap Camera Server as described under 1.4
You should now be able to paste the Lens Group ID into the search bar of your Snap Camera application.