How to Teach Paid Live Classes from Your Own Website?
A step-by-step path for teachers, coaches and studios to sell access to live classes and recordings from their own site.

On this page
To teach paid live classes from your own website, you create a DCAST account, check which plan fits the size of your classes, decide whether to connect an AI assistant, create the live stream that carries your class, choose whether students pay per class, by membership or both, let them pay inside the player, embed that player on your site and then follow your sales through the API. The sections below take these steps in that order and finish with the decisions that remain yours.
Upload, stream and sell your videos. Start on the free plan — no card needed.
Get Started FreeBefore you start, remember who you are doing this for. A student who misses the live session is often the one most ready to pay for the recording, so plan to keep every class you teach. You will also sell more if you announce your schedule a few weeks ahead, because students can then arrange their week around it.
Step 1: Create your DCAST account
Open the sign-up page and fill in the form. You give an email address, choose a password and type it a second time. The form refuses to continue if any of those three is empty, if the two passwords differ, or if the password is shorter than eight characters, so fix the message you see and submit again.
Step 2: Pick a plan by the size of your classes
Click your avatar in the top right corner of the dashboard and choose Billing. The Available Plans row shows FREE, STAR, PRO and VIP side by side, and the card whose button reads Current Plan is the one your account is on. If you never bought a plan, FREE is your plan. Read the feature list on your card: it names the storage, streaming and tool limits that apply to you.
For live classes the limit to check first is how long one stream may run. On FREE, a live stream is stopped automatically after one hour, while the paid plans carry no such cap on stream length. If your classes run longer than that, choose a paid plan before you sell your first seat, otherwise your students could be cut off mid-lesson.
To change plans, click the button on the card you want. A checkout window opens with the plan name and the amount at the top. Whatever plan you choose, read the feature list on its card before you rely on it, because that list is where the limits for your account are named.
Step 3: Decide whether to connect an AI assistant
This step is optional. DCAST has a connector that links an AI assistant such as Claude to your account. If you use it, ask the assistant to tell you what it is about to change before it changes it, so you stay in charge of your library, and look over what it changed after a session, the way you would check the work of a new colleague.
When you stop using it, remove the connector in your DCAST API keys, so no forgotten assistant keeps a way into your account. A token the connector received before you removed it is refused from that moment, a newer token cannot reopen it, and to connect again you approve the access in DCAST once more. If you suspect someone else used the connection, remove it first and reconnect afterwards with a fresh approval.
Step 4: Create the live stream for your class
On the dashboard, click Streams in the top navigation and then Create Stream. Type a clear title, because viewers will see it, and add an optional description so students know what to expect. Then pick how you will send your video. The list starts on CAMERA, which broadcasts from the browser or phone. If you teach from OBS or a hardware encoder, you must change it to RTMP, SRT, WHIP, HLS or FILE. Choose who can watch, click Save, and open the new card to reach the stream details page.
If your own code should create classes, for example one stream per scheduled lesson, the partner API does that with its stream operations. In words, they let you create a stream, list your streams, read one, update one, delete one, start, stop and end one, read its preview address, its status, its thumbnail and its viewers. A new stream comes back with an RTMP address, an SRT address and, where it is available, an HTTPS address for WHIP, plus the embed address of the player for your page. The interface creates the broadcast, while the picture itself comes from your encoder, so give the publish address to OBS or whatever you teach with.
Two details protect you when you automate. If the title or description you send is not plain text, the request is refused with the name of the wrong field and no stream is created, so read that field first when something fails. And you can switch a stream to access by key, but the change is refused unless the request brings the access key, which is useful for a private cohort that receives a key from you.
Keep the API key on your server and never place it in a page that your visitors load. Your students load your website, so anything in that page is visible to them.
Step 5: Sell single classes with pay-per-view
Pay-per-view fits a one-off class, a workshop or a masterclass, where students want one ticket rather than a membership. The buyer pays once for that single item. The charge is made on your own connected Stripe account, so the money from each sale goes to you, and the platform commission is taken as a fee on that charge.
Do the Stripe onboarding before anything else. Sales open only after Stripe confirms that your account can take charges and send payouts, and until then a buyer is told the sale is not open yet. Finish this before you announce a class, so your first students are not turned away.
Then open the video or class in your library, go to the Access or Monetization section, choose the access you want and save. The dashboard guide suggests testing the result by opening the watch link in a private browser window to confirm that the right paywall appears.
Buyers are protected once they have paid. If you later raise the amount, switch the sale off or connect a different payout account, people who already bought keep their access on the terms they bought. Write the date, the length and what is included into the description, because a clear offer answers most questions before they are asked.
Step 6: Offer a membership with subscription tiers
If you teach every week, a membership often suits better than selling each class. Subscriptions bill your supporters monthly on your own connected Stripe account and open the content you reserve for subscribers while the subscription is paid. Start with tiers that differ clearly in what they unlock, so a visitor can choose in seconds, and tell subscribers what they get each month, such as a regular live session or early access to new recordings.
On the dashboard, open a video and choose Subscribers Only or a specific Tier in its Access section, as in the previous step. Through the partner API you handle tiers and subscribers with the subscription operations. In words, they let you create, list, read, change and delete tiers, list and count your subscribers, add or remove a subscriber, read your own tiers, subscribers and subscriptions, subscribe to or leave a creator by username, and start a subscription checkout.
You can offer a free trial, which starts only after the subscriber has entered a card that Stripe accepted. Access opens when the subscription's own invoice is paid, and pressing Subscribe twice, or on two devices at once, still creates a single recurring bill. When someone cancels, they keep access until the end of the period they paid for.
Step 7: Let students pay inside the player
You do not build a checkout page yourself. A viewer who has not paid sees the buy button with the amount in the player itself, so the sale happens on the page where they came to watch. The same card appears on your watch page, in your embedded player and on your creator site, with the title, the buy button and a note that the content is protected. If you offer both a single purchase and a subscription, the viewer chooses between them in that card, and a student who received an access key from you can enter it there on your watch page and in the embedded player.
The checkout asks for the buyer's email and card in one short form, and where the device offers Apple Pay or Google Pay they appear next to the card. No payment is created until the buyer has entered a valid email and valid card details, and pressing the pay button twice still creates a single payment. If you change the amount while a student has the checkout open, that student is not charged and is told the offer has changed. Put the date, the length and what is included into the title and description, because the student decides right there in the player.
Step 8: Embed the player on your own website
Open the video in your library, click Share, and click Embed to get the embed code. Copy the whole code, not just the address, and paste it into the HTML of your page. Then open your page as a visitor to confirm that playback works and that the access rules you set are the ones students meet. If the video is blocked, check whether its visibility is still Private. The partner API can return the embed address of a stream and of a video, through one operation for each.
Decide where the player may appear. By default the embedded player works on any website. If you sell access through your own site and want the player to appear only there, list the domains where it may appear, and every other website is refused. One entry can cover every subdomain of a site with a wildcard, and clearing the list opens the player to every website again. Entries that are malformed are rejected before anything is saved, so a typo cannot open or close your player by accident.
The rule follows the owner of each video or broadcast, so one list covers your uploads, your live classes and their chat. The embedded frame also takes the shape of your video, so a widescreen class stays wide.
Step 9: Follow paid access and sales through the API
If your website has its own back office, your code can handle paid access too. It puts a video up for sale by switching paid access on with the amount a buyer pays once, and ends the sale by switching it off. Send the amount in the same request that switches paid access on, so the video goes on sale in one step. Paid access is refused when no amount is given, or when the amount is zero, and clearing the amount of a video that is already for sale is refused as well.
Switching paid access on through the API is refused with a 403 answer until you have a connected and verified payment gateway, which is the same Stripe onboarding you finished earlier. For reading results, the partner API offers operations that, in words, return your payouts, your connection status with the payment provider, your payments, your revenue, your purchases and the purchases of one video. Use them to see who bought a class before you answer a support message.
What you still decide: schedule, format and offer
The product handles checkout and access, but the offer is yours. Decide first whether you sell a ticket per class or a membership. A single ticket suits a workshop that people attend once, while a membership suits a weekly class whose recordings build up. Many teachers sell both, and the player lets the student choose between them. Whichever you pick, write what the student gets into the title and description, so the decision is easy to make at the moment they are watching.
Then rehearse the whole path as a student would. Open your own page in a private browser window, check that the paywall appears, and confirm that your class starts on time from your encoder. Fix any problem before you announce, record every class so that people who missed it have something to buy, and keep your schedule visible weeks ahead. A tested path and a clear calendar do more for your sales than any single setting.
API documentation for this topic
dcast Team
Professional video streaming experts helping creators succeed.
Related Articles
Start Your Video Business Today
Upload, stream and sell your videos. Start on the free plan — no card needed.
Get Started Free



