- Go to unsplash.com
- Sign up or log in
Troubleshooting: If you get connection errors, try using Tor Browser: torproject.org/download
See: Fig.3.0, Fig.3.1, Fig.3.2.
Fig.3.0: Before the integration with Unplash and Uploadthing APIs
Fig.3.1: Connection Error
Fig.3.2: Unsplash via Tor
- Click on "Product" in the menu
- Select "Developers/API"
See: Fig.3.3.
Fig.3.3: Select Developers API
- Click "Your apps"
- Click "New Application"
- Accept the terms and conditions
- Name your application (e.g., "Canva Clone")
- Submit
See: Fig.3.4, Fig.3.5, Fig.3.6, Fig.3.7.
Fig.3.4: Select ‘Your apps’
Fig.3.5: Create an app
Fig.3.6: Accept terms
Fig.3.7: Name your app with a few words
- In your app dashboard, find "Access Key"
- Copy the key
See: Fig.3.8.
Fig.3.8: Grab your Access Key
Open .env and add:
NEXT_PUBLIC_UNSPLASH_ACCESS_KEY=your_access_key_here# Stop the server (Ctrl+C)
# Start again
bun dev- Open
http://localhost:3000 - Click on a project or create new one
- Click "Image" in the left sidebar
- You should see Unsplash photos!
See: Fig.3.9.
Fig.3.9: Unsplash is set
✅ Unsplash API setup complete!
Previous: 02-DATABASE-SETUP.md
Next: 04-UPLOADTHING-API.md









