---
title: "Apigee API Generator: Easily Create APIs For Your Apigee Suite"
description: Apigee is great at managing your existing APIs - how can you Apigee without a proper API? Learn how to use DreamFactorys Apigee API Generator today!
---

[Blog](https://blog.dreamfactory.com)

# [Apigee API Generator: Easily Create APIs For Your Apigee Suite](https://blog.dreamfactory.com/apigee-api-generator-easily-create-apis-for-your-apigee-suite)

 Written by [Kevin McGahey](https://blog.dreamfactory.com/author/kevin-mcgahey) | January 16, 2026

[Apigee](https://cloud.google.com/apigee/) is great at managing your existing APIs - but how can you bring new technologies into your Apigee suite that lack an appropriate API?

As it happens, DreamFactory is perfectly suited to creating a [REST API](https://blog.dreamfactory.com/how-to-secure-rest-apis-api-keys-vs-oauth/) fast for whatever datasource you need, and it can now be plugged straight into Apigee. In this blog post I will be breaking down how to go from a datasource with no API to having a fully Swagger documented and secure API managed in Apigee in no time, courtesy of DreamFactory's Apigee API Generator.

**Table of contents**

[Creating an API for Apigee](https://blog.dreamfactory.com/apigee-api-generator-easily-create-apis-for-your-apigee-suite?hs_amp=true#Creating-an-API-for-Apigee)

[Applying MySQL Credentials](https://blog.dreamfactory.com/apigee-api-generator-easily-create-apis-for-your-apigee-suite?hs_amp=true#Applying-MySQL-Credentials)

[Generating a Role](https://blog.dreamfactory.com/apigee-api-generator-easily-create-apis-for-your-apigee-suite?hs_amp=true#Generating-a-Role)

[Generating an API Key](https://blog.dreamfactory.com/apigee-api-generator-easily-create-apis-for-your-apigee-suite?hs_amp=true#Generating-an-API-Key)

[Connecting our API with Apigee](https://blog.dreamfactory.com/apigee-api-generator-easily-create-apis-for-your-apigee-suite?hs_amp=true#Connecting-our-API-with-Apigee)

## Creating an API for Apigee

First, you will need a DreamFactory environment. You can easily activate a free trial [here](https://genie.dreamfactory.com/) and follow along in real-time. 

Once we are in our DreamFactory platform, we need to create our first API. Luckily DreamFactory supports a plethora of databases and file systems such as [MySQL](https://www.dreamfactory.com/hub/integrations/mysql/), [Microsoft SQL Server](https://www.dreamfactory.com/hub/integrations/microsoft-sql-server/), [AWS S3](https://www.dreamfactory.com/hub/integrations/amazon-s3/), and can even convert [SOAP to REST](https://blog.dreamfactory.com/how-to-turn-any-soap-web-service-into-a-rest-api). You can see the full list of integrations [here](https://www.dreamfactory.com/hub/categories/all/).

In this example we will be connecting our MySQL database to automatically generate an API for Apigee to consume. However, regardless of what [API-integration](https://blog.dreamfactory.com/combining-multiple-data-sources-in-a-single-restapi-call-with-dreamfactory-2-0/) you need, the creation process uses the same standardized method.

### Step 1. Applying MySQL Credentials

Navigate to *Services* and then enter the service creation interface by clicking on the *Create* button located to the left of the screen. From there you’ll select the MySQL service type by navigating to *Database > MySQL*.

You’ll then be prompted to provide a name, label, and description, it is best to keep the name all lowercase without spaces or special characters as that will be apart of our URL structure later on.

Finally, click on the *Config* tab. Here you’ll be prompted to provide the database connection credentials (see below screenshot). This should really be nothing new; you’ll supply a host name, username, password, and database. Additionally, you can optionally specify other configuration characteristics such as driver options, the time zone, and caching preferences. For the purpose of this tutorial I’ll stick to the required fields and leave the optional features untouched.

Now just press the Save button at the bottom of the screen, and believe it or not the REST API has been generated!

Related reading: [Creating a MySQL REST API in Minutes with DreamFactory](https://blog.dreamfactory.com/create-a-mysql-rest-api-in-minutes-using-dreamfactory/)

### Step 2. Generating a Role

All DreamFactory-generated APIs are automatically protected by (at minimum) an [API key](https://www.dreamfactory.com/hub/integrations/api-key-management/). For us to be able to connect the newly created API with Apigee we will have to attach an API Key from DreamFactory to pass along to Apigee. Let’s create a new role which restricts the associated API key to interacting with the API in a read-only fashion within the newly created MySQL API. To do so, navigate to the *Roles* tab, and click the *Create* button. Again we will provide a name and description. Next, click the *Access* tab. This is where you’ll define what the role can do. In the below screenshot you’ll see I’ve limited the role to interacting with the MySQL service, and within that service the role can interact with \* or all endpoints via the *GET* method. This means we are only allowing read access to all the endpoints.

### Step 3. Generating an API Key

Now we’ll create a new API key and associate the key with this role. To do so, click on the *Apps* tab located at the top of the screen, and then click the *Create* button. Assign your new App a name and description, ensure it is set to *Active*, and then assign it the default role of MySQL just as I’ve done in the below screenshot. Regarding the App Location setting, you can select “*No storage required*”. Upon saving you’ll be returned to the Apps index screen where the new API key can be copied!

## Connecting our API with Apigee

After we have our fully Swagger documented API from DreamFactory we can take it over to Apigee. We will want to go to the *Develop tab* and *API Proxies* within our Apigee dashboard. From there we will select the add proxy button in the top right corner. You will be shown this screen:

We will want to select the default, *Reverse Proxy* and click *Next*. This will now bring us to the details page where we will apply our DreamFactory API. Providing a name and the existing API endpoint we created which we can find within the DreamFactory API Docs tab here:

After inserting this base URL and the attached API Key to Apigee we can click *Next*. On the *Security* tab since we already have our API secured in DreamFactory lets just select *Pass Through* and *Next*. For *Virtual Hosts* we will keep the default and *Next*. In this example we will keep this deployment as a test environment and select *Build and Deploy*.

Congratulations - just like that, we have our DreamFactory API being proxied via Apigee.

To confirm let’s go to the new URL Apigee generated. As you can see, we are getting back our available options in the API such as the schema, tables, stored procedures, and functions.

Now we have successfully added a new datasource that previously lacked an API to Apigee without writing a single line of code. If you need to build multi-datasource applications that incorporate difficult legacy or modern technologies - you now have a method of bringing them all into your existing [API Management system via DreamFactory](https://blog.dreamfactory.com/6-reasons-to-use-api-management-in-the-age-of-loosely-coupled-app-design/)!

As previously mentioned, if you would like to walk through this step by step, download our [free hosted trial here](https://genie.dreamfactory.com/) to instantly create your Apigee REST APIs.

[View full post](https://blog.dreamfactory.com/apigee-api-generator-easily-create-apis-for-your-apigee-suite)

```json
{
  "@context" : "http://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "Kevin McGahey"
  },
  "dateModified" : "2026-06-03T15:38:21.198Z",
  "datePublished" : "2026-01-16T00:00:00Z",
  "headline" : "Apigee API Generator: Easily Create APIs For Your Apigee Suite",
  "image" : {
    "@type" : "ImageObject",
    "height" : 400,
    "url" : "https://44870387.fs1.hubspotusercontent-na1.net/hubfs/44870387/Understanding%20SOAP%20Security%20%283%29-1.png",
    "width" : 750
  },
  "mainEntityOfPage" : "https://blog.dreamfactory.com/apigee-api-generator-easily-create-apis-for-your-apigee-suite",
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "height" : 60.0,
      "url" : "https://44870387.fs1.hubspotusercontent-na1.net/hubfs/44870387/LOGO%20(500%20x%20500%20px).ico",
      "width" : 60.0
    },
    "name" : "Blog"
  }
}
```