Set up Google Cloud for prior art search

Use your Google account to search public U.S. patent publications and save results in your own private Google Cloud bucket. PatentTools charges $0. Google bills your project for the resources you use.

1. Create a project and link your billing account

You need a Google account and an active Google Cloud billing account. Personal Gmail works. If your organization manages Google Cloud, ask its cloud administrator to complete the billing and Cloud Shell steps. The researcher can then sign in without administrator privileges.

  1. Open Create a project. Choose a project dedicated to this work, or use an existing one your administrator approves. Copy the project ID from the project selector. It looks like my-research-4827. The display name and numeric project number are different.
  2. Open Billing → My projects. Find that exact project ID and confirm it is linked to the account that should pay Google. If this is your first billing account, follow Google’s prompts to create one and add a payment method. Google’s billing instructions
  3. Choose a new, globally unique bucket name, for example your project ID followed by -prior-art. A bucket holds the search files. Use 3–63 lowercase letters, digits or hyphens, beginning and ending with a letter or digit. Keep case names and client information out of this publicly visible name. Google’s bucket naming rules

2. Sign in as the researcher

Open the search workspace

Choose Sign in with Google using the account that will search. On Connect your Google Cloud project, check the displayed Workspace, then enter your project ID and bucket name. Enter the name alone, without gs://.

Who gets access? A personal connection belongs to that Google account. For a managed Google Workspace domain, signed-in members of the same domain who know the project and bucket can use the connection, incur charges and reopen saved work. Use a dedicated bucket with contents suitable for that group.

3. Have the administrator run the setup commands once

  1. In the workspace, expand First-time administrator setup and choose Copy my setup commands. The workspace fills in all four values, including its pt- service account name and the PatentTools broker email. If copying is unavailable, select the entire command block and copy it manually.
  2. Open Google Cloud Shell, Google’s browser-based terminal. If an administrator is helping, give them the command block and let them open Cloud Shell with their own account. Confirm the account shown in Cloud Console, review the project and bucket names at the top of the block, and authorize Cloud Shell when Google asks.
  3. Paste the entire block into the Bash terminal, press Enter and wait for Setup complete. If a command fails, follow the troubleshooting steps below and rerun the full block with the same settings. Keep the project ID and bucket name for future visits.

The commands enable BigQuery, Vertex AI, Cloud Storage, Resource Manager, Cloud Billing, IAM and IAM Service Account Credentials. They create a dedicated service account (the Google identity that runs the work) and a private U.S. multi-region bucket, or reuse matching resources. Before granting access, they check the bucket’s owning project, enforced public access prevention and uniform bucket-level access. Start with a fresh bucket if you are unsure which files are already there.

Which permissions does the administrator grant?

Leave Google passwords, downloaded service account keys and Gemini API keys out of PatentTools. The setup uses Google sign-in and short-lived credentials. Google’s guide to impersonation · Cloud Storage role definitions

4. Check the connection

Return to the researcher’s workspace tab and select Check connection. Look for Project and bucket permissions verified followed by your project ID and bucket. This checks access to the project and private bucket, including active billing independent of PatentTools. It submits no patent query or Gemini request. If you have used this workspace before, you can start here after sign-in.

  1. Under Invalidity search, start with Titles and abstracts. For a practice search, enter A tire pressure sensor that transmits a pressure reading wirelessly as the claim, tire pressure, wireless sensor as the search terms, and January 1, 2015 under Published before.
  2. Select Estimate search cost. The BigQuery dry run is free. Saving the estimate in your bucket can incur a small storage charge. Read the maximum billed scan and the approximate dollar amount. If your budget is $5 and the maximum exceeds it at your rate, stop here. Full text can scan more data.
  3. To authorize the scan up to that limit, read the public search terms, tick the charge-approval checkbox and choose Approve scan and run search. When ranked publications appear, open a publication number to read the original patent. Check the publication date and passages yourself.
  4. For an optional chart, select the primary reference first, then up to three secondary references. Accept the separate Google charge and choose Generate or reopen contention chart. Use Download Word chart to export it. On a later visit, reconnect the same project and bucket and choose Load saved searches.

The scan limit applies to one BigQuery job. Vertex AI, storage and any applicable transfer charges are separate. Review your project in Billing → Reports. See the cost breakdown and examples · Public search terms

If a step fails

How to disconnect

Signing out ends your browser session. To stop PatentTools from obtaining new credentials, have the administrator open Cloud Shell. From the original setup block, copy and run only the four assignment lines beginning with PROJECT_ID=, BUCKET=, ACCOUNT_NAME= and BROKER_EMAIL=. Then run the block below. It removes the broker grant on that service account.

(
  set -eu
  SERVICE_ACCOUNT="${ACCOUNT_NAME:?}@${PROJECT_ID:?}.iam.gserviceaccount.com"
  gcloud iam service-accounts remove-iam-policy-binding "$SERVICE_ACCOUNT" \
    --project="$PROJECT_ID" --member="serviceAccount:${BROKER_EMAIL:?}" \
    --role=roles/iam.serviceAccountTokenCreator --condition=None
)

Allow time for Google to apply the change. Each previously issued PatentTools credential expires within 15 minutes of issuance. Jobs already submitted can finish. Files remain in your bucket and can continue to incur Google storage charges under your retention policy.