docs: add Neon Functions quickstarts and Neon AI Gateway examples by rishi-raj-jain · Pull Request #942 · upstash/docs · GitHub
Skip to content

docs: add Neon Functions quickstarts and Neon AI Gateway examples - #942

Open
rishi-raj-jain wants to merge 1 commit into
upstash:mainfrom
rishi-raj-jain:docs/neon-parity
Open

rishi-raj-jain wants to merge 1 commit into
upstash:mainfrom
rishi-raj-jain:docs/neon-parity

Conversation

@rishi-raj-jain

Copy link
Copy Markdown

Adds Neon to the docs (with QStash and Workflow guides for Neon Functions). Neon Functions have no built-in queue or retries, so QStash and Workflow fill that gap.

New pages

  • Redis → Quickstarts → Neon Functions
  • QStash → Quickstarts → Neon Functions: signature verification, and flow control to stay under Neon's 100-concurrent-invocation limit
  • Workflow → Quickstarts → Neon Functions, with a Supported Platforms card and an optional step that calls Neon AI Gateway

Updated pages

  • Box Attach Headers: *.neon.tech example and host-pattern row
  • QStash LLM, Workflow OpenAI, Workflow Agents: Neon AI Gateway as an OpenAI-compatible provider
  • AgentKit AI SDK: Neon Auth added to the auth-provider list

Tested against a real Neon project and Upstash account:

  • Redis: neon dev, deploy, and deploy to a second branch
  • QStash: signed delivery works, unsigned requests get 401, flow control and log queries work
  • Workflow: deployed, triggered with client.trigger on US-region QStash → RUN_SUCCESS, including the AI Gateway step
  • AI Gateway: QStash custom() (JS and Python), Workflow openai.call, and agents over the Responses API
  • Box: *.neon.tech injects the header in a real box; mid-host wildcards are rejected

Notes

  • Neon function slugs must be 1–20 lowercase letters and digits with no hyphens, so the guides use rediscounter, qstashreceiver and upstashworkflow.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant