How To Generate The YouTube Credentials
Learn how to generate YouTube API credentials using Google Cloud Console.
Step 1: Create a Google Cloud Project
- Visit: https://console.cloud.google.com/
- Click the project dropdown (top left) → “New Project”
- Name your project (e.g., YouTube Integration) and click “Create”
Step 2: Enable the YouTube Data API v3
- After your project is created, go to: https://console.cloud.google.com/apis/library/youtube.googleapis.com
- Click “Enable”
- You also need to enable the YouTube Data API V3 version and the YouTube Analytics API.
Step 3: Configure OAuth Consent Screen
- Go to: OAuth Consent Screen
- Choose “External” if your app will be used by others outside your organization.
- Fill in:
- App name
- User support email
- Developer contact info
- Save and continue (you can skip scopes for now or add later)
- Under “Test users”, add the Gmail account(s) you’ll use to test.
Step 4: Create OAuth 2.0 Client Credentials
- Go to: Credentials Page
- Click “Create Credentials” → OAuth client ID
- Choose “Web application”
- Set a name (e.g., Laravel YouTube Integration)
- Under Authorized redirect URIs, add your redirect URL, e.g.:
- For local development:
http://localhost:8000/google/callback
- For production:
https://yourdomain.com/google/callback
- For local development:
- Click Create
Step 5: Copy Your Credentials
- After creation, you’ll get:
- Client ID
- Client Secret
- Save these in your Laravel .env file or settings table:
GOOGLE_CLIENT_ID=your_client_idGOOGLE_CLIENT_SECRET=your_client_secretGOOGLE_REDIRECT_URI=http://localhost:8000/google/callback
Categories
Related articles
- Biometric Attendance Detailed Documentation
- Tracker Documentation
- Webhook – WorkDo Dash SaaS Add-on
- Find Google Leads Integration in Dash SaaS
- Zendesk Integration in Dash SaaS
- Rotas Integration in Dash SaaS
- Performance Indicator Integration in Dash SaaS
- Team Workload Integration in Dash SaaS
- Radiology Management Detailed Documentation
- Launching Your Own SaaS Business with BookingGo SaaS
- Zatca Integration in Dash SaaS
- Products PDF – eCommerceGo Addon
Reach Out to Us
Have questions or need assistance? We're here to help! Reach out to our team for support, inquiries, or feedback. Your needs are important to us, and we’re ready to assist you!
Need more help?
If you’re still uncertain or need professional guidance, don’t hesitate to contact us. You can contact us via email or submit a ticket with a description of your issue. Our team of experts is always available to help you with any questions. Rest assured that we’ll respond to your inquiry promptly.
Love what you see?
Do you like the quality of our products, themes, and applications, or perhaps the design of our website caught your eye? You can have similarly outstanding designs for your website or apps. Contact us, and we’ll bring your ideas to life.
