RAIRprotocol
  • 💎Welcome to RAIR
  • 💴Whitepaper (draft)
    • Start
      • History
      • Licensing
      • Codebase
      • Onboarding
      • Mechanics
        • Burn Model
        • Earn Model
      • Governance (DAORM)
  • ↔️Integrations
    • Core Technologies
      • Guides
        • Alchemy
        • GCP Cloud Storage
        • Web3Auth
    • Blockchains
  • 👩‍💻CODEBASE
    • RAIRsolidity
      • Soneium (Minato)
      • Core DAO
      • All Contract Addresses
      • Transfer functions
    • RAIRdapp
      • RAIRfrontend
        • Proxy Settings for Default Frontend
        • Frontend Variables Library
      • RAIRnode
        • Permissions and Access Controls
        • Backend Variables Library
      • RAIRsync
        • Integrating New EVMs
      • RAIRstream
      • RAIRinfra
    • RAIR API
      • Endpoints
        • Auth
          • Get challenge
          • Login
          • Logout
          • Me
          • Unlock
          • Stream
            • Out
        • Analytics
          • Csv
        • Contracts
          • FactoryList
          • Full
          • Import
          • My
          • Network
            • Products
              • Offers
        • Credits
          • Withdraw
        • Favorites
        • Files
          • ById
          • ByCategory
          • Categories
          • ForToken
          • Unlocks
          • List
          • Remove
          • Update
        • Nft
          • Network
            • Attributes
            • Files
            • Locks
            • Offers
            • Token
              • Pinning
          • PinningMultiple
          • Csv
            • Sample
        • Offers
          • /
        • Products
          • /
          • User
        • Resales
          • Create
          • Delete
          • Open
          • Purchase
          • Update
        • Search
          • All
        • Settings
          • Featured
          • Theme
          • AppLogo
        • Tokens
          • /
          • TokenNumbers
        • Transaction
        • Upload
          • File
          • Validate
        • Users
          • /
          • Export
          • List
          • Yoti verify
      • Specification
    • A Note on Documentation
  • ⚙️Installation and Testing
    • Getting Started
      • Welcome to New Web3 Devs!
      • RAIRlite (Single VM)
        • Windows WSL Installation
        • MVP Test Plan
        • https configuration
      • RAIRcloud (Cloud Enabled)
        • Cloud Test Plan
  • 🛟End User Guides
    • User Functionality
      • How to login
      • Buy your first NFT
      • Put items up for sale
      • Watch Content
    • Admin Functionality
      • Deploying NFT contracts
      • Managing Metadata
      • Managing Media
      • Managing Marketplace
      • Managing Users
      • Importing External Contracts
Powered by GitBook
On this page
  • Creation of Buckets
  • Service Account Creation
  • Grant Access to Service Account on Buckets
  • Updating environment variables

Was this helpful?

  1. Integrations
  2. Core Technologies
  3. Guides

GCP Cloud Storage

Profile images and Videos are stored in GCP Buckets.Configuration steps required :

PreviousAlchemyNextWeb3Auth

Last updated 1 year ago

Was this helpful?

  • Creation of Buckets

  • Service Account Creation

  • Grant Access to Service Account on Buckets

  • Updating environment variables in .env file

Creation of Buckets

Navigate to Google Cloud Storage - Buckets

Create Bucket

Click on CREATE Button

Follow defaults and Provide "Public to internet " access by Granting "Storage Object Creator" Role to user "allUsers"

Two Buckets needs to be created - one for Storing videos and other for storing Profile images

Service Account Creation

Navigate to IAM & Admin - Service Accounts

Create Service Account

Click on CREATE SERVICE ACCOUNT Button

Follow the defaults and create account

Create Key

For the Service Account, create key and download it for updating it in .env file

Grant Access to Service Account on Buckets

Navigate to Buckets created in last step

Select PERMISSIONS tab and then click on GRANT ACCESS

Assign "Storage Object Admin" Role to the Service Account Created in last step

Updating environment variables

Set following environments variables in .env file

gcp_image_bucket_name=<Bucket name for storing Profile images>

gcp_video_bucket_name=<Bucket name for storing Videos>

gcp_credentials='<Paste contents of the Key file of Service Account>'

↔️