How to Connect Bluehost AI Credits to Langflow

Power your Langflow connections directly using the AI Credits balance tied to your Bluehost account. This allows you to call supported models instantly using one Bluehost-issued key, instead of creating a separate provider account and API key for each model.

This article assumes you already have Langflow running on a Bluehost Self-Managed VPS or Virtual Dedicated Server (VDS).

If you haven't installed Langflow yet, see:

Connect Bluehost AI Credits to Langflow

AI Credits let you call supported models through Bluehost without creating a separate account with each model provider. Usage is deducted from your existing AI credit balance instead of being billed by the provider directly.

First Time Setup

Follow these steps to connect to your VPS or VDS, log in to Langflow for the first time, and configure your AI Credits key as a model provider.

  1. Log in to your Bluehost Portal.
  2. In the left-hand menu, click the Hosting tab.

    Self Managed VPS
     

  3. Locate the server you want to manage, then click View Details in the bottom-left corner to expand the section and access additional server information.

    Self Managed VPS
     

  4. Click the Reset Password.

    Self Managed VPS
     

  5. In the pop-up window, type your new root password, then click Reset Password again to confirm and save the changes.

    Self Managed VPS
     

  1. Connect to your VPS via SSH.
    Use your VPS IP and credentials with an SSH client, follow the prompts, and enter your root password when asked:
    ssh root@your_server_ip
  2. Click the Manage button.

    Manage
     

  3. Log in to your Langflow dashboard.

    Log in - Langflow Dashboard
     

  4. Click + Create first flow to open your workspace.

    Log in - Langflow Dashboard - Create first flow
     

  5. Click Configure Model Providers in the center of your screen.

    Log in - Langflow Dashboard - Create first flow - Configure
     

  6. Click the + icon next to OpenAI (or OpenRouter) in the list.

    Log in - Langflow Dashboard - Create first flow - Configure - Model
     

  7. Paste your AI Credits key into the OpenAI API Key field.

    Langflow Dashboard - Create first flow - Configure - Model - Add API Key
     

  8. Your OpenAI provider connection is now configured and active, with the available models ready to use.

    Langflow Dashboard - Create first flow - Configure - Model - Add API Key-connected
     

Adding AI Credits to an Existing Langflow Install

If Langflow is already configured with a different provider and you want to add AI Credits (or switch to it) without repeating full setup, edit Langflow's configuration file directly.

  1. On your Langflow dashboard and go to your profile icon > Settings > Model Providers.

    Langflow Dashboard - Model Providers
     

  2. Select the OpenAI option from the list of providers (or choose the generic/OpenAI-compatible provider option if AI Credits isn't listed as a named provider in your version of Langflow).

    Langflow Dashboard - Model Providers - select
     

  3. Paste your AI Credits key into the API Key field. If a Base URL field is present, enter the endpoint provided in your Bluehost Portal AI Credits section.

    Langflow Dashboard - Create first flow - Configure - Model - Add API Key
     

  4. Click Save, then enable the specific models you want available in your flows.
  5. Add a Language Model or Agent component to a flow, and select your AI Credits connection from the Model Provider dropdown to use it.

Test Your Connection

Once a connection is configured (AI Credits or a third-party provider), confirm it works before building a larger flow:

  1. Create a new flow, or open the Basic Prompting template from the template gallery.
  2. Add Chat Input and Chat Output components, and a Language Model (or Agent) component.
  3. Connect Chat Input to the Language Model component's input, and connect the Language Model component's output to Chat Output.
  4. In the Language Model component, select the connection you just configured and choose an enabled model.
  5. Open the Playground and send a test message, such as "Hello?"
  6. If you get a response, the connection is working.

    Langflow Dashboard - Model - Test
     

Troubleshooting

If your connection test doesn't work as expected, use the table below to identify the likely cause and next steps.

Issue Likely Cause What to Check
"Insufficient credits" or similar error AI credit balance is depleted Check your balance in the Bluehost Portal and add more credits
"Invalid API key" error Key was mistyped, expired, or revoked Re-copy the key from the provider (or the Bluehost Portal for AI Credits) and re-enter it
Model doesn't appear in the dropdown Model isn't enabled, or your key doesn't have access to it Return to Model Providers settings and confirm the model is enabled for that key
Ollama connection fails Ollama isn't running, or the base URL is wrong Confirm Ollama is running on the server and that the base URL and port match your setup
Flow runs but returns no output Components aren't connected correctly Confirm Chat InputLanguage ModelChat Output are linked, and that a model is selected

Summary

Langflow can run using AI Credits tied to your Bluehost account. AI Credits are the faster path if you want to start building without creating a separate provider account. Once a connection is configured in Model Providers, test it with a simple Chat Input → Language Model → Chat Output flow in the Playground before building anything more complex.