Gemini Text prompt

Step-by-Step API Integration Guide

Plan and code a simple integration (WhatsApp, payment, SMS or email API) with clear, safe steps.

Free No login · Commercial use allowed · Copy and use
  • 0 times copied
  • 98 words
  • Updated November 10, 2026

The prompt

Act as a senior developer mentoring a junior.
I want to connect my [website/app built with ...] to the [API name, e.g. a payment gateway / WhatsApp Business API / email service] to [goal].

1. Explain how this kind of integration works in simple steps (with a small diagram in text).
2. List what I need: account, keys, webhooks, test mode.
3. Give sample code in [language] with placeholders for keys, read from environment variables (never hard-coded).
4. Explain how to test safely in sandbox/test mode.
5. List security checks before going live.
Always refer me to the official documentation for exact endpoints.

What to write in the [brackets]

ReplaceWith
[website/app built with ...]Your tech stack
[API name]The service
[goal]What should happen
[language]Programming language

How to use this prompt

  1. Click "Copy prompt" above.
  2. Open Gemini (the free version works for most prompts).
  3. Paste the prompt and replace every part in [square brackets] with your own details.
  4. Send it, then ask follow-up questions to improve the answer (e.g. "make it shorter", "write it in Hindi").
  5. Check facts, prices and numbers before you use the result with customers.

Tips for better results

  • APIs change — always confirm endpoints in official docs.
  • Keep API keys in environment variables, never in code or chats.

Try these variations

After the first answer, send one of these as a follow-up message:

  • Write the webhook handler with signature verification.

FAQ

Does this prompt work only with Gemini?

No. It works in ChatGPT, Gemini, Claude and most other AI chat tools. Results vary a little between tools.

Is this prompt free to use for my business?

Yes. All prompts in the Cracckk Prompt Library are free, including for commercial work. Always check AI output before you publish or send it.

Can I use it in Hindi or another Indian language?

Yes. Add a line like "Reply in Hindi" or "Use Hinglish" at the end of the prompt.