Skip to main content

Looking for OpenAI SDK?

We have a dedicated guide for using the OpenAI SDK with Linkup.
This tutorial shows you how to use OpenAI’s function calling with Linkup to build a chatbot with real-time web search capabilities.
1

Get your API Keys

Get your Linkup API key

Create a Linkup account for free to get your API key.

Get your OpenAI API key

Create an OpenAI account for free to get your API key.
2

Install and Setup

Install the required packages:
Set up your clients:
3

Define the Function Schema

Tell OpenAI about your search function using the Responses API format:
4

Build the Chatbot

Put it all together in a conversational loop using the Responses API:
Need help? Email support@linkup.so, ping us on Discord, or talk to us.