AI
Pass

Build a AI Travel Planner with AI Pass SDK

Build a AI Travel Planner with AI Pass SDK

Add AI travel planning to your app. Auth, billing, API routing — all handled by AI Pass.

What You'll Build

A web app that generates travel itineraries. Users sign in via AI Pass, you earn 50% commission on every API call.

Step 1: Create OAuth2 Client

  1. Developer DashboardOAuth2 ClientsCreate New
  2. Copy your Client ID

Step 2: Add SDK

<script src="https://aipass.one/aipass-sdk.js"
        data-client-id="YOUR_CLIENT_ID"
        data-app-name="AI Travel Planner"
        data-require-login="true">
</script>

Step 3: Call AI

async function generate(prompt) {
  const r = await AiPass.generateCompletion({
    model: "openai/gpt-4.1-mini",
    messages: [
      { role: "system", content: "You are a travel planning assistant." },
      { role: "user", content: prompt }
    ]
  });
  return r.choices[0].message.content;
}

Step 4: Deploy

Self-host or publish on AI Pass catalog.

Links