> ## Documentation Index
> Fetch the complete documentation index at: https://docs-preprod.sambanova.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# n8n

n8n is a no-/low-code workflow automation framework.

## Create an account

To integrate SambaCloud with n8n, follow these steps:

## Open or create workflow

Log in to the n8n platform and select the \[+] button. Alternatively, select the **Create Workflow** button to start a new workflow.

<img src="https://mintcdn.com/s2gp1o6hatjv6y4/oklJORWUVvpbyEf9/images/docs/integrations/n8n/n8n_new.png?fit=max&auto=format&n=oklJORWUVvpbyEf9&q=85&s=cb291c7f1c9bee27ab4e2998227c7c87" alt="" width="3023" height="1420" data-path="images/docs/integrations/n8n/n8n_new.png" />

## Add OpenAI Chat Model node

SambaCloud is compatible with the OpenAI API. Use the OpenAI Chat Model node for integration.

<img src="https://mintcdn.com/s2gp1o6hatjv6y4/oklJORWUVvpbyEf9/images/docs/integrations/n8n/n8n_openai.png?fit=max&auto=format&n=oklJORWUVvpbyEf9&q=85&s=d0171678649faeb459aa04939a2e3555" alt="" width="3024" height="1417" data-path="images/docs/integrations/n8n/n8n_openai.png" />

## Configure your credentials

In the OpenAI Chat Model panel, select the "Credential to connect with" dropdown, and select "Create new credential". Then, enter your **SambaNova API Key** and **Base URL**.

<img src="https://mintcdn.com/s2gp1o6hatjv6y4/oklJORWUVvpbyEf9/images/docs/integrations/n8n/n8n_credential.png?fit=max&auto=format&n=oklJORWUVvpbyEf9&q=85&s=1b1b98e84916a28f42094854a160482a" alt="" style={{ width:"75%" }} width="1067" height="707" data-path="images/docs/integrations/n8n/n8n_credential.png" />

<img src="https://mintcdn.com/s2gp1o6hatjv6y4/oklJORWUVvpbyEf9/images/docs/integrations/n8n/n8n_api.png?fit=max&auto=format&n=oklJORWUVvpbyEf9&q=85&s=1040b5f6b7c246effd9bd1a6cec2c01e" alt="" width="1184" height="631" data-path="images/docs/integrations/n8n/n8n_api.png" />

## Select the model

Click the **Model** dropdown and select the appropriate model provided by SambaCloud.

<img src="https://mintcdn.com/s2gp1o6hatjv6y4/oklJORWUVvpbyEf9/images/docs/integrations/n8n/n8n_model.png?fit=max&auto=format&n=oklJORWUVvpbyEf9&q=85&s=e441f76712e9418e2cda543d12c97e91" alt="" style={{ width:"75%" }} width="1047" height="1060" data-path="images/docs/integrations/n8n/n8n_model.png" />

## Example: Household budgeting agent with SambaCloud and n8n

* For a concrete example, check out [this sample workflow](https://github.com/sambanova/integrations/tree/main/n8n) that builds a simple household budgeting agent.
* It can serve as a template for building more advanced agentic workflows using SambaCloud and n8n.
