Docschargebeedocs

HomeBillingPaymentsRevRecGrowthReveal
Support

Product Updates


  • Release Notes

Getting Started


  • Overview
  • Chargebee Billing Data Centers
  • Object Relationship Model
  • Understanding Sites
  • Chargebee Tech Glossary
  • Articles and FAQ

Implementing Chargebee


  • Implementation Guide
  • Go-live Checklist
  • Articles and FAQ

AI in Chargebee


  • Chargebee Agents
  • Chargebee Copilot
  • Chargebee MCP Server (Model Context Protocol)

Developer Resources


  • Developer Resources Overview
  • Articles and FAQ

Product Catalog


  • Product Catalog Overview
  • Coupons
  • Articles and FAQ

Subscriptions


  • Working with Subscriptions
  • Billing
  • Orders
  • Articles and FAQ

Customers


  • Managing Customers
  • Account Hierarchy
  • Email Notifications
  • Branding
  • Configure Multiple Languages
  • Articles and FAQ

Entitlements


  • Entitlements Overview
  • Features Overview
  • Feature Management
  • Managing Product Entitlements
  • Subscription Entitlements
  • Customer Entitlements
  • Grandfathering Entitlements
  • Articles and FAQ

Usage Based Billing


  • Understanding Usages
  • Setting up Usage Based Billing
  • Metered Billing
  • Articles and FAQ

Chargebee CPQ


  • Chargebee CPQ
  • Chargebee CPQ for Salesforce
  • Chargebee CPQ for HubSpot

Invoices, Credit Notes, and Quotes


  • Invoices
  • Credit Notes
  • Quotes [Legacy]
  • Transactions
  • Articles and FAQ

Taxes


  • Overview
  • Configuring Taxes
  • Country-specific Taxes
  • Articles and FAQ

Hosted Capabilities


  • Overview
  • Hosted Checkout
  • Hosted Self-Serve Portal
  • Hosted Pages Features
  • Additional Hosted Pages
  • Payment Components
  • Pricing Table
  • Managing Payments with Chargebee.js
  • Mobile-Optimized Hosted Pages
  • Articles and FAQ

Site Configuration


  • Users & Roles
  • Custom Fields & Metadata
  • Approvals
  • Mandatory Fields
  • File Attachments & Comments
  • Advanced Filter Options
  • Multicurrency Pricing
  • Multi-decimal Support
  • Configuring Reason Codes
  • Events and Webhooks
  • API Keys
  • Time Zone
  • Time Machine
  • Transfer Configurations
  • Articles and FAQ

Multi Business Entity


  • Multi Business Entity Overview
  • Customer Transfer Overview
  • Articles and FAQ

Mobile Subscriptions


  • Overview
  • Omnichannel Subscriptions
  • Omnichannel One-Time Orders
  • Mobile Subscriptions (Legacy)

Reports and Analytics


  • RevenueStory
  • Home Dashboard
  • Frequently Asked Questions
  • FAQs for Classic Reports Sunset
  • Articles and FAQ

Integrations


  • Sales
  • Customer Support and Success
  • Finance
  • Tax
  • Marketing
  • Stitch
  • Collaboration
  • Contract Management
  • Ecommerce Management
  • Articles and FAQ

Data Privacy & Security


  • Two Factor Authentication
  • SAML Single Sign-On
  • System for Cross-Domain Identity Management (SCIM)
  • EU-GDPR
  • Consent Management
  • Personal Data Management
  • Compliance Certificates
  • HIPAA Guidelines
  • PCI Recommendations and Integration Types
  • Articles and FAQ

Data Operations


  • Bulk Operations
  • Migration
  • Articles and FAQ
  1. Billing
  2. Data Operations
  3. Automatic Export Set Up Automatic Export To Google Cloud
  1. Billing
  2. Data Operations
  3. Automatic Export Set Up Automatic Export To Google Cloud

Set up Automatic Exports to Google

To set up Automatic Export with Google Cloud, follow these steps:

  • Step 1: Setting up your Google Cloud Platform service account

  • Step 2: Generate a JSON key file for your service account

  • Step 3: Create a Google Cloud Storage Bucket

  • Step 4: Grant your service account access to manage the Google Cloud Storage Bucket

Step 1: Setting up your Google Cloud Platform service account

To create a Google Cloud Platform (GCP) service account, follow these steps:

  1. Log in to the Google Cloud Console and navigate to IAM & Admin > Service Accounts.

  2. Click + CREATE SERVICE ACCOUNT.

  3. Enter the information of your service account, such as the Service account name and Service account description. Click CREATE AND CONTINUE. Note: Ensure to copy the service account email address for the upcoming requirement.

  4. Optional: Grant a specific access level to the service account.

  5. Click DONE to complete the setup. This action creates the service account and assigns a role, you can view on the IAM Service Accounts page.

Learn more about creating and managing service account keys.

Step 2: Generate a JSON key file for your service account

Whether you are setting up a new service account or using an existing one, you need to generate a JSON key file for configuration in Chargebee. To generate a JSON key file, follow these steps:

  1. In the Google Cloud Console, navigate to the IAM & Admin > Service Accounts page and locate the service account you intend to use for Data Sync.

  2. Click on the KEYS tab.

  3. Under the Actions column, click the vertical dots next to your service account and select Manage keys.

  4. Using the ADD KEY dropdown, select Create new key.

  5. Choose the JSON key type and click CREATE.

  6. A message appears confirming the private key saved to your computer.

Keep the JSON key file to set up Automatic Export in Chargebee.

Step 3: Create a Google Cloud Storage Bucket

Chargebee exports data to a Google Cloud Storage (GCS) bucket. To create a Google Cloud Storage (GCS) bucket, follow these steps:

  1. In the Google Cloud Console, navigate to the Cloud Storage > Buckets.

  2. Click + CREATE.

  3. Enter a descriptive name for your bucket.

  4. Follow the Google workflow to configure the bucket settings, including choosing a location, storage class, access controls, and data protection options.

  5. Click CREATE > CONFIRM. It redirects to your newly created, empty bucket in Google Cloud.

Step 4: Grant your service account access to manage the GCS Bucket

To allow your GCP service account to manage your GCS bucket, you need to grant it the appropriate permissions by following these steps:

  1. In the Google Cloud Console, navigate to Cloud Storage > Buckets and find your Data Sync bucket.

  2. Use the following options to edit permissions:

    1. Open your Data Sync bucket, select the PERMISSIONS tab, and click GRANT ACCESS.
    2. Alternatively, on the Buckets page, click the vertical dots next to your Data Sync bucket and select Edit access.
  3. Click Add principal to grant access and paste the service account email address you copied earlier.

  4. Under Select a role, choose Cloud Storage > Storage Admin. This role gives all the required control over the GCS bucket . If you prefer a custom role, ensure it includes at least the following minimum permissions. Without these, exports will not run:

       storage.buckets.get
       storage.buckets.list
       storage.objects.create
       storage.objects.delete
       storage.objects.get
       storage.objects.list
    
  5. Click SAVE to apply the changes and verify that your service account has Storage Admin access to your Data Sync bucket.

Next Step Once you have completed all the above steps, follow the instructions to set up Automatic Export in Chargebee.

Was this article helpful?