Deploy!
Now that you're all set up and familiar with the tools, it's time to get started! In this module you'll generate a company proposal using OpenCode, deploy it to Cloudflare, and secure it behind Cloudflare Access.
Generate a Company Proposal
Use the Strategic Proposal Generator skill to create a polished company proposal. Pick any company you want.
Open OpenCode
Open your terminal and type opencode
Set up your session
Make sure you're in Build mode (press TAB to switch) and the model is set to Claude Opus 4.6 (press Ctrl+P to change)
Browse your skills
Type /skills to see your installed skills, then select the Strategic Proposal Generator skill
Run the skill
Type the command with any company name you'd like. For example:
/strategic-proposal for Spotify Follow the prompts
The skill will ask you questions as it generates the proposal. Press proceed or allow when prompted to let it continue.
Deploy Your Proposal
Now let's deploy the proposal you just generated to your Cloudflare Dash account so it's live on the internet.
Tell OpenCode to deploy
In the same OpenCode session, tell it you want to deploy the proposal to your Dash account. Be specific about which account:
Deploy this proposal to my Dash account (your-personal-email@example.com's account) Follow OpenCode's prompts
OpenCode will handle the deployment process. Allow it to run the necessary commands.
Verify in Dash
Once deployed, open your Cloudflare Dashboard. Navigate to Workers & Pages — you should see the proposal you just deployed!
Secure with Cloudflare Access
Important: Anything you deploy to Cloudflare is publicly accessible by default. You should always put deployed pages behind Cloudflare Access so they aren't visible to the public.
Open your Dash account
Go to the Cloudflare Dashboard and make sure you're in your account
Navigate to Access
Zero Trust → Access Controls → Applications
Create a new application
Click Create new application → Continue with Self-hosted
Enter your domain
Enter the domain and subdomain of the page you deployed
Create a policy
Scroll down to Policies and create a new policy with these settings:
Policy name: Cloudflare Employees
Selector: Emails ending in
Value: @cloudflare.com
Action: Allow
Save and create
Press Save policy, then scroll down and press Create. You can reuse this same policy for anything you deploy in the future.
Congratulations!
You've officially created and safely deployed your first project on Cloudflare. From generating the proposal with AI, to deploying it to the edge, to securing it with Zero Trust — you just used the full Cloudflare platform.