Connecting openai GPTs builder profiles with Cloudflare: Instructions
1. Register a Domain with Cloudflare:
- Log into the Cloudflare dashboard and select your account.
- Navigate to Domain Registration > Register Domains.
- Enter your desired domain name and select Search.
- Choose Purchase for the available domain.
- Select the registration term and enter contact details.
- Choose your payment method and accept the terms and conditions.
- Complete the purchase.
2. Configure a TXT Entry for OpenAI GPT Builder Profile:
- Sign into Cloudflare and select your site.
- Choose the DNS option.
- Click 'Add record' and choose TXT from the dropdown menu.
- Enter @ in the Name field.
- Retrieve TXT code is found in ChatGPT Plus under Profile, Settings & Beta, Builder profile, and enabling the the Website option and choosing Verify new domain
- Paste the TXT code provided by OpenAI into the Content field and click Save. .
3. Creating and Uploading a Single HTML Page:
- Use Cloudflare Pages to deploy web pages globally.
- Create your index.html file with the help of GPT
- For drag and drop method: Log in to Cloudflare dashboard, select Account Home > Workers & Pages, choose Create application > Pages > Upload assets, enter project name and drag and drop assets including index.html file, and select Deploy.
4. Connecting a Custom Domain to Your Cloudflare Pages Project:
- Log into Cloudflare dashboard, select Account Home > Workers & Pages, choose Pages project, go to Custom domains, and click Set up a domain.
- For apex domain: Configure nameservers to point to Cloudflare’s nameservers.
- For subdomain: Create a custom CNAME record pointing to your Cloudflare Pages site.