Made in Builder

Made in Builder

×

Developers

Product

Use Cases

Pricing

Developers

Resources

Company

Get StartedLogin

Product

Features

Integrations

Talk to an Expert

Pricing

Blog

Home

Resources

Blog

Forum

Github

Login

Signup

×

Visual CMS

Drag-and-drop visual editor and headless CMS for any tech stack

Theme Studio for Shopify

Build and optimize your Shopify-hosted storefront, no coding required

Resources

Blog

Get StartedLogin

Using the Builder API Key

An API key is an alphanumeric string that you can use to connect your code base with Builder. Use the Builder Public API Key to integrate with Builder.

An example of a Builder API Key is bb209db71e62412dbe0114bdae18fd15.

This document walks you through the following:

Prerequisites

To get the most our of this document, you should have the following:

  • A Builder account
  • An app in your framework of choice

Tip: The Builder Public API Key is public, meaning that you don't have to keep it private. Because of this, there are no inherent security risks in it being publicly viewable, for example, on GitHub.

Finding your Public API Key

To find and copy your Public API Key, take the following steps:

  1. Within Builder, go to the Account Settings section.
  2. Click the copy icon to the right of the Public API Key field.

Using your Public API Key in your framework

Most JavaScript apps use builder.init() to pass in the Public API Key. Replace YOUR_API_KEY with the Public API Key you copied from Account Settings.

The following example shows what an actual Public API Key looks like when passed into builder.init().

Using your Public API Key in Angular

In Angular, pass your API Key into BuilderModule.forRoot(), by replacing YOUR_API_KEY with the Public API Key you copied in Account Settings. Place the forRoot() method in the @NgModule() imports array.

When you replace the YOUR_API_KEY placeholder, it looks similar to the following example.

Next steps

With your API Key in place, you can integrate powerful Builder features. To get started, check out the following tutorials:


Need Expert help?

Submit a project to our partners, BuildQuick, and be matched with a Builder expert.

Submit a project

Was this article helpful?