Midio docs
  • Getting Started
    • Welcome
    • Quick Start Guide
  • Your First Midio App
  • Guides
    • HTTP
      • Making HTTP Requests
      • Uploading Files (multipart/form-data)
      • Responding to HTTP Requests
      • How to reach your own endpoints
      • CORS
      • Server-Sent Events (SSE)
    • Branching
    • Loops
    • Map, filter, reduce
    • Working with Data
    • Expressions
    • Building Agents
      • Streaming Agent API (experimental)
    • Debugging
    • Secrets and Environment variables
    • Convert JSON to data nodes
    • Writing tests
    • Cleaning up your flows
  • Package Manager
  • Integrating with third party services
  • Troubleshooting
  • Tutorials
    • Connecting LLMs to MCP-servers using the MCP-client package
    • Making Your Own MCP Server in Midio
    • A Fast Path to Functional RAG Agents
    • How to build a streaming agent using Server-Sent Events (SSE)
  • Reference
    • The Midio Editor
      • The Node Editor
      • User Traces
      • Traces (execution)
      • Processes
      • Log
      • Services
      • Problems
      • Function Signature
      • Data
      • Settings
    • The Midio Language
      • Nodes and execution
      • Functions and Events
        • Anonymous functions
      • Modules
      • Contexts
      • Data type
      • Local variables
      • Portals
      • Waypoint node
      • Partial function application
  • The Midio Engine
  • Built in Nodes
    • Core (std)
    • HTTP
    • LLM
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. Step-by-step Tutorial: Build an AI App

OpenAI setup

Last updated 7 months ago

Was this helpful?

To get an OpenAI API key, first register an account in . Note that you can only use the OpenAI API if you have active credit grant(s).

After signing up go to , and click on Dashboard in the top right corner.

Then, click API keys in the menu to the left.

Open the create dialog by clicking Create new secret key. Keep the default selected permission settings ('All'), and give it a name (the name can be whatever you want).

Make sure you copy the generated key, and store it somewhere safe. You won't be able to get the key after you've clicked done.

their platform
https://platform.openai.com
Go to dashboard
Go to API keys view
Create API key