Deliver an automation to a client and charge for each run

You built an automation for a client. It works on your machine. Now your client must run it with nothing to install, and you want to charge for each run. This Guide takes your project to your client as a Widget, and shows how the money comes to you.

Your client gets a form in their browser. They fill it in, press RUN and download the outputs. They never see your code or your keys.

Publish the project as a Widget

A Widget is your project on Abyss, with a form in front of it. Make it first.

  • Your project needs run.py, requirements.txt and interface.json at its root. The project tells what each one holds. When your automation is an n8n flow, Port an n8n flow into a Widget takes you through it.
  • Put your API keys in the Widget's Environment variables, never in your code.
  • Press Publish in the navbar, and drag your project's folder into the uploader.
  • Press Test Run. The Test Run becomes the Widget's Example Run, which the Widget's page shows. So test with data that your client may see, not with the data of another client.
  • Publish the Widget as PRIVATE. A private Widget is not listed, and only a person who has its link can open it.
  • Set your price in Byssium for each run. You can give each person some Free Runs first. Test, publish, price gives the limits.

What your client opens

What the link opens depends on your plan.

  • Without a plan, the link opens the Widget's page on abysshub.com: your form, your price, your Example Run and RUN. How people run your Widget tells what your client sees there.
  • With Pro, every link opens a Link Page. It holds your Brand, the one Widget, its form and RUN. It shows no other Widget.

Your Brand is your logo and your Studio's name. Add the logo in your Studio's Settings. Pricing gives the price of Pro.

Choose who pays

Your client pays for each run, your client pays a monthly price, or you pay for every run. Without a plan, your client pays for each run. With Pro, you choose for each link: open its Link Page, press Settings at the right end of its head, and choose under Who pays. Links and who pays gives every answer.

Each Run: your client pays. Each run costs your client your price, in Byssium.

  • Your client signs in with an Abyss account, buys Byssium and presses RUN.
  • Your client buys 100 Byssium for about $1. The smallest top-up is $5.
  • Your client's Free Runs come first, and cost them nothing.
  • A run that fails costs your client nothing: Abyss gives the Byssium back.

A monthly price: your client buys Monthly Access. You set a price in dollars for each month. Your client pays it on the Link Page, and then each run they press on the website costs them nothing. You get 85% of each payment.

You pay for every Run. Your client opens the link with no sign-in and pays nothing.

  • Your client's runs are on your account. They are your own runs, so they cost you no Byssium.
  • You can open each of these runs in your Studio's Runs. Tell your client so.
  • These runs bring you no Byssium. Charge your client for them in your own way, for example in your invoice.

Your client's code can also call the Widget through the API, with the abysshub library and an API key of their own. Such a run costs your price and the Call Price. What comes back explains the Call Price, and Call Abyss from your code shows the call.

What you earn, and how you withdraw

Each paid run that succeeds pays you your price.

  • The run's price moves into your wallet as Earned Byssium. A Free Run pays you nothing, and so does a run that fails.
  • Earned Byssium clears first. Your Studio's Earnings shows each amount and the day you can withdraw it.
  • Before your first withdrawal, press Set up withdrawals in Earnings to connect your bank account through Stripe. Give the Tax Form too.
  • Withdraw takes Earned Byssium out as dollars, into your bank account. A withdrawal pays $0.70 for every 100 Byssium. The least you can withdraw is 2,000 Byssium.
  • Turn on Monthly payout in Earnings, and Abyss pays out by itself. When you can withdraw at least $50, it is paid out at the start of each month.

Abyss takes US tax from what runs by US Runners earn, at your country's treaty rate. Where you can withdraw lists the countries a withdrawal reaches, and each one's rate. Pricing gives every figure that Abyss charges or pays.

What your client never sees

Your client gets the outputs of each run. The rest stays with you.

  • Your code. Your client never sees your project's files. Only you and Abyss's admins see them.
  • Your keys. Abyss sends the values of your Environment variables only to you. Your code gets them on every run. So never write a key into an output.
  • The cost of your keys. Each run uses your keys, so the AI provider bills you for each run. Set your price so that it pays for this cost.

Your code, keys and data tells who can see what you put on Abyss.

For automation agencies and freelancers shows three real runs, what your client gives and what your client gets.

Publish your Widget