<!-- Generated from the canonical OpenPost public page. Do not edit this build artifact. -->

Title: Google Business Profile
Description: Set up Google Business Profile so a workspace can publish updates and answer reviews.
Canonical: https://openpo.st/docs/self-hosting/integrations/google-business
Source: [https://openpo.st/docs/self-hosting/integrations/google-business](https://openpo.st/docs/self-hosting/integrations/google-business)

# Google Business Profile

OpenPost connects Google Business Profile with Google OAuth, then publishes local posts to a location you choose and shows its reviews in Inbox. Google reviews every post after you send it, so a post stays pending until Google decides.

## What you need

**Before you start:**

- `OPENPOST_APP_URL` set to your instance's public HTTPS origin
- A [Google Cloud project](https://console.cloud.google.com/) where you can configure OAuth
- Google's approval to use the Business Profile APIs for that project
- A Google account that manages a verified Business Profile location
- Administrator [readiness records](https://openpo.st/docs/self-hosting/integrations#readiness-records-for-bot-apps-and-pinterest) for this provider

OpenPost does not enable Google Business delivery until the app has Google API access and current live certification evidence.

## Configure Google Cloud

  **Step 1: Enable the Business Profile APIs.**

    In your project, enable the account management, business information and local posts APIs that Google approved for you.

  **Step 2: Configure the consent screen.**

    Add the scopes listed below in Google Auth Platform, and add your own account as a test user while the app is in testing.

  **Step 3: Create the OAuth client.**

Create an **OAuth client ID** of type **Web application** and add this **Authorized redirect URI**:

```text
https://post.example.com/api/v1/accounts/googlebusiness/callback
```

```text
https://www.googleapis.com/auth/business.manage
https://www.googleapis.com/auth/userinfo.profile
https://www.googleapis.com/auth/userinfo.email
```

## Save the app in OpenPost

The provider ID is `googlebusiness`. The settings form does not offer it, so [save these credentials](https://openpo.st/docs/self-hosting/configuration#provider-apps) in `OPENPOST_PROVIDER_APPS`, adding the entry to your existing array:

```json
[
  {
    "provider": "googlebusiness",
    "client_id": "your-google-oauth-client-id",
    "client_secret": "your-google-oauth-client-secret",
    "redirect_uri": "https://post.example.com/api/v1/accounts/googlebusiness/callback"
  }
]
```

Replace the domain and credentials. If you omit `redirect_uri`, OpenPost derives the same address from `OPENPOST_APP_URL`.

## Connect and test

  **Step 1: Connect the location.**

    Open **Accounts**, choose **Google Business**, sign in with the managing Google account, and
    pick a location. Only verified locations that Google allows to post, or to answer reviews, are
    listed.

  **Step 2: Publish a small update.**

    Create a post for that location. Choose a **Post type** (What's New, Event or Offer), up to
    1,500 characters, and optionally one JPEG or PNG image. Media must be reachable on a public
    HTTPS URL.

  **Step 3: Wait for Google's decision.**

    The post stays pending while Google reviews it. A rejected post never counts as published.
    Duplicate it to try again.

Event and Offer posts add a name (58 characters at most), dates and times, and for offers a coupon code, redemption link and terms. A **Button** (Book, Order, Shop, Learn more, Sign up or Call) takes a **Button link**; Offer posts carry no button.

Reviews appear in Inbox under **Reviews**. You can reply there (4,096 UTF-8 bytes at most) or remove your reply. Google accepting a reply does not mean it has approved it for public display. Google offers no per-post insights, so post analytics are unavailable.

## Troubleshoot

| Problem                     | Check                                                                                                                                    |
| --------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
| Redirect mismatch           | Compare the authorized redirect URI with your JSON and public `OPENPOST_APP_URL` exactly.                                                |
| No location appears         | Confirm the Google account manages a verified location, and that Google granted the project Business Profile API access.                 |
| Connection is unavailable   | Record the provider's [readiness evidence](https://openpo.st/docs/self-hosting/integrations#readiness-records-for-bot-apps-and-pinterest) as an administrator. |
| Post stays pending or fails | Wait for Google's review. Check the reason on the post, then duplicate a rejected post to retry.                                         |
