Knowledge Base

Get Expert Website Hosting

Choose website reliability and expertise with SiteGround!

Home / Coderick AI / Integrations / How to integrate Stripe in Coderick AI Project

How to integrate Stripe in Coderick AI Project

Summarize this article with:
Last update: Jul 23, 2026 • 5 min read

From online stores to subscription-based websites, businesses need to handle online payments effectively. This is part of what ensures a frictionless customer experience. Currently, one of the most widely adopted payment platforms globally is Stripe and connecting it to your Coderick AI project now happens in just a few clicks.

What does the Stripe integration do for your Coderick AI project?

Most AI-generated sites look good and explain what a business offers but sometimes there’s no path from “product created” to “payment received” without leaving the platform. So, when someone’s ready to place an order/payment, the process becomes more complex than it should be. Here’s the gap between what appears to be an impressive demo and actual business that drives revenue.

This is exactly what we tried to close with the Stripe integration. With it, you can enable a real checkout flow. One where you simply describe what you want to sell, Coderick AI handles the logic, and Stripe processes the payments.

IMPORTANT: Stripe integration supports both one-time payments and subscriptions. You can connect in test mode or live mode, depending on your Stripe account.

How to integrate Stripe in your Coderick AI project

There are two ways to connect it: directly from the chat as part of your build prompt or from the Integrations menu sidebar.

Option 1: Connect Stripe using the chat

This is really convenient since you don’t need to navigate away or go through a separate setup flow.

  1. Describe your project and what Coderick AI should build.

It will read the payment intent in your description and will show a Stripe connection card inside the chat interface. If you tell Coderick AI to build a portfolio website where you will provide consultations, it will first build the site and then prompt you to connect to Stripe.

  1. Click on Connect.
    Connect Stripe into Coderick AI from chat.

Here are several example prompts that will trigger the Stripe connection card:

  • “Build me a portfolio website where website visitors can book a paid consultation with me.”
  • “I want to sell access to my online courses.”
  • “Create an online store for shoes with a product catalogue.”
  1. After that, you will see a dialog that highlights the main benefits of integrating Stripe. Click on Continue.
  2. Add your Restricted Key.

To find it, login to your Stripe account and navigate to your API keys. If you don’t have a Stripe account, you can create one directly from the website. Once you have the key, copy it and paste it in the Coderick AI window, and press Connect.

The exact steps for generating a Restricted Key can be found further down the guide.

Screenshot showing how to add your Restricted Key to connect Stripe

IMPORTANT: Your Restricted Key also tells you which Stripe mode you’re in. A key starting with rk_test means your Stripe account is in test mode, which is ideal for trying out your checkout before going live. A key starting with rk_live means your account is live and ready to accept real payments. You can start in test mode and simply swap in your rk_live key from the Integrations menu when you’re ready to go live.

Once connected, Coderick AI will build the full checkout logic. This includes products, payment links, and confirmation flow all based on your project specifications and requirements. Of course, you can ask Coderick AI to tailor the after-purchase logic based on your specific case.

Screenshot showing successful Stripe integration into Coderick AI

IMPORTANT: Payments are completed on Stripe’s own secure checkout page, not on the site Coderick AI builds for you.

Option 2: Connect Stripe through the Integrations menu

You can connect Stripe independently of a specific build prompt. Simply, from the left-hand sidebar, click on Integrations and then press Connect under the Stripe card.

Connecting Stripe through Integrations in Coderick AI

After that, you will go through the same steps as when integrating Stripe using the chat – add a Restricted Key and connect.

This approach is useful when you’re planning a payment feature but haven’t described it to Coderick AI yet, or when you want to verify your connection is active before building.

How to create a Restricted Key in your Stripe dashboard

Coderick AI connects to your Stripe account using a Restricted Key. If you don’t have an account, you will need to create one. This type of key has the option to limit and tailor the permissions you grant, keeping you in control.

To create a Restricted Key:

  1. Log in to your Stripe Dashboard.
  2. Go to Developers > API keys.
  3. Click + Create restricted key on the right.
    Creating restricted key from Stripe dashboard
  4. You will be prompted to choose the key usage. Select Powering an integration you built and then press Continue.
    Choosing the key usage

  5. Select the type of payments you wish to accept and press Continue.
    Selecting the type of payments

Depending on your preference, purpose, and what exactly you sell, you can either select one of these options or choose both – “One-time payments” and “Recurring subscriptions and billing”.

  1. Enter a key name and click on the Create Key button at the bottom of the page.
    Entering a key name and clicking on the Create Key button
  2. Once ready, click the key value to copy and save it. Stripe only shows the full key once.
    Clicking the key value to copy and save it

IMPORTANT: Never paste your Stripe key into the Coderick AI chat. Always enter it inside the designated key field in the Stripe connection dialog.

How to customize the post-purchase experience

The checkout flow doesn’t have to end at a generic “Thank you for your order” page. Tailor and improve the experience by describing the exact flow you want after a customer places an order depending on what you are selling.

Coderick AI is instructed to create a subscription management interface – a dashboard where people can manage their subscriptions. However, you must be sure that people who subscribe can pause and/or cancel their plans.

Here are some basic examples of what you can define:

  • A custom confirmation page with a download link or access instructions.
  • A follow-up message or onboarding prompt.
  • A summary of what the customer purchased.
  • A dedicated page for subscription management.
  • A management dashboard where customers can track the status of their orders.

IMPORTANT: If you need to collect taxes, this is fully in your control and remains your responsibility. You can enable Stripe Tax, describe to Coderick AI which taxes should apply, and how they should appear on your project. Keep in mind that Stripe Tax handles the calculation, but deciding what to collect (and staying compliant with the rules in your region) is up to you.

How to manage your Stripe integration

After connecting, your Stripe integration will be visible and manageable from the Integrations page in your sidebar. From there you can verify if the connection is active, disconnect and reconnect Stripe with a different key if needed, or check other active integrations in the project.

For order history, payout tracking, and subscription management, use your Stripe Dashboard directly. The Stripe integration is scoped to connecting your Project to your Stripe Account and respectively – to the Stripe checkout page. SiteGround has no involvement in the processing, execution, or handling of any payment or transaction, all of which are performed solely by Stripe, which remains the system of record for all transactions.

If you need to update a product’s price or details after launch, you can do it in two ways: ask Coderick AI in the chat to update the product or edit the record directly in your project’s PocketBase database.

Tips for getting the most from Stripe in Coderick AI

  • Name your key clearly in Stripe. You can use labels like “Coderick AI [Project Name]” so you can easily identify and revoke it when necessary.
  • Describe your products/services thoroughly. The more detail you give Coderick AI, the better the product/service record and payment link will be in PocketBase and Stripe.
  • Check your Stripe Dashboard for failed payments. Coderick AI surfaces the connection, but Stripe is where you see transaction-level detail. Review the Payments section in your Stripe Dashboard regularly, especially after launch.
  • Tell Coderick AI exactly what you’re selling. Be clear about whether you’re offering one-time payments or subscriptions (the checkout logic differs for each.) Describe what should happen/appear after purchase: a confirmation page, access instructions, or, if you sell subscriptions, a way for customers to manage and cancel them. The more precisely you describe the full flow, the better Coderick AI builds it.
  • You can also use Coderick AI to build a refund admin dashboard. Simply prompt it. This way, you can process refunds from your own project, as long as your Restricted Key has refund permissions enabled (typically handled by default.) Note that your Stripe Dashboard remains the place to verify that a refund was issued.

Share this article

Found this article useful?

Add SiteGround to your preferred Google sources