Files
boc/setup-google-indexing.sh
T

28 lines
1.1 KiB
Bash
Raw Normal View History

#!/bin/bash
# Setup Google Indexing API
echo "=== Google Indexing API Setup ==="
echo ""
echo "Detta kräver manuella steg i Google Cloud Console:"
echo ""
echo "1. Gå till https://console.cloud.google.com/"
echo "2. Välj eller skapa projekt 'quixzoom-landing'"
echo "3. Aktivera API:er:"
echo " - Google Search Console API"
echo " - Web Search Indexing API"
echo "4. Skapa Service Account:"
echo " - IAM & Admin > Service Accounts"
echo " - Skapa ny service account: 'quixzoom-indexer'"
echo " - Roll: Owner (eller mer restriktiv)"
echo " - Skapa och ladda ner JSON-nyckel"
echo "5. Lägg till service account i Google Search Console:"
echo " - Gå till https://search.google.com/search-console"
echo " - Välj property (quixzoom.se, quixzoom.de, etc.)"
echo " - Inställningar > Användare och behörigheter"
echo " - Lägg till service account-email som ägare"
echo "6. Spara JSON-nyckeln som:"
echo " /home/bernt/.openclaw/workspace/google-service-account.json"
echo ""
echo "När detta är klart, kör:"
echo " python3 /home/bernt/.openclaw/workspace/submit-to-google.py"