GitLab Integration Setup
Learn how to connect Sigma SEO with your GitLab project for automated blog posting
What You'll Need
- A GitLab account and project
- GitLab Personal Access Token with api scope
- Anthropic Claude API key
- Active Sigma SEO subscription
Step-by-Step Setup Guide
Step 1: Create a GitLab Personal Access Token
Generate a token with the required permissions to access your projects.
- Go to GitLab.com and sign in to your account
- Navigate to User Settings → Access Tokens (or Preferences → Access Tokens)
- Click 'Add new token'
- Set a descriptive name (e.g., 'Sigma SEO Blog Posting')
- Select the following scopes:
- • api (Full API access)
- Set an appropriate expiration date
- Click 'Create personal access token' and copy the token immediately
Warning: Important: Save your token securely - GitLab will not show it again!
Step 2: Prepare Your GitLab Repository (Optional)
Set up the required directory structure in your target project.
- Navigate to your GitLab project where you want to publish blogs
- Create a '/blog' directory in the root of your repository
- Add an HTML template file for your blog posts (optional but recommended)
- Create a 'blog.html' file for the blog listing page (optional)
- Ensure GitLab Pages is enabled in your project settings (Settings → Pages)
Tip: The /blog directory is where all your generated blog posts will be stored as HTML files.
Step 3: Get Your Anthropic Claude API Key
Required for AI-powered content formatting and enhancement.
- Visit console.anthropic.com and create an account or sign in
- Navigate to the API section
- Generate a new API key
- Copy the API key for use in Sigma SEO
- Ensure you have sufficient credits in your Anthropic account
Note: Claude API is used to format and enhance your blog content before posting to GitLab.
Step 4: Configure Sigma SEO Settings
Enter your credentials in the Sigma SEO dashboard.
- Go to your Sigma SEO Dashboard
- Select 'GitLab' as your Git Platform
- Enter your GitLab Personal Access Token in the 'GitLab Access Token' field
- For Project ID - Follow these detailed steps:
- • Step 1: Navigate to your target GitLab project
- • Step 2: Look at the URL in your browser address bar
- • Step 3: Find the pattern: https://gitlab.com/[USERNAME]/[PROJECT-NAME]
- • Step 4: Copy only the USERNAME/PROJECT-NAME part (after 'gitlab.com/')
- • Step 5: Paste this into the 'GitLab Project ID' field
- • Examples: 'johndoe/my-blog', 'sarah-dev/awesome-website', 'company123/blog-posts'
- Enter your Anthropic Claude API Key
- Click 'Save' to store your settings
- The system will automatically validate your credentials
Tip: All credentials are validated in real-time to ensure they're working correctly.
Project ID Help: The Project ID format is 'username/project-name'. Here are detailed steps: 1) Go to your GitLab project page, 2) Look at the browser URL (e.g., https://gitlab.com/johndoe/my-blog), 3) Copy everything after 'gitlab.com/' (johndoe/my-blog), 4) This is your Project ID. Common mistakes: Don't include 'https://gitlab.com/', don't add extra slashes, ensure exact spelling (case-sensitive).
Step 5: Test Your Setup
Generate and post your first blog to verify everything works.
- Use any of the Sigma SEO blog generation tools (Stealth, Standard, etc.)
- Generate content for a test blog post
- Look for the posting button after content is generated
- Click the button to post your content to GitLab
- Check your GitLab project to verify the blog was posted
- Verify the blog listing page was updated (if you have one)
Success: Congratulations! Your GitLab integration is working correctly.
Troubleshooting
❌ Token authentication failed
✅ Verify your GitLab token has 'api' scope and hasn't expired.
❌ Project not found
✅ Check that your Project ID is in the correct format: 'owner/project-name' and that the project exists.
❌ Wrong Project ID format
✅ Go to your GitLab project page, look at the URL (e.g., https://gitlab.com/johndoe/my-blog), and copy 'johndoe/my-blog' as your Project ID. Don't include 'https://gitlab.com/' or any other parts.
❌ Claude API errors
✅ Ensure your Anthropic API key is valid and you have sufficient credits in your account.
❌ Posts not appearing on GitLab Pages
✅ Check that your project has a '/blog' directory, GitLab Pages is enabled, and your CI/CD pipeline is configured to deploy pages.