Login

Migrate from Cloudflare Stream

This guide provides a detailed walkthrough for generating an API token and locating the Account ID in Cloudflare, both of which are essential requirements for successfully migrating videos from Cloudflare Stream to FastPix.


Obtaining Cloudflare credentials


Step 1: Login to Cloudflare

  1. Open https://dash.cloudflare.com/
  2. Enter your email and password.
  3. Complete two-factor authentication if enabled.

Step 2: Navigate to account

  1. After logging in, look for your profile icon in the top-right corner.
  2. Click on the profile icon.
  3. Select "My Profile" from the dropdown menu.

Cloudflare dashboard


Step 3: Access API tokens section

  1. In the left-side navigation menu click on "API Tokens".
  2. You'll see a section titled "User API Tokens".
  3. Click on “Create Token” to create and configure token permissions.

Access API tokens section


Token template selection

  • Click on "Use Template" for Read and write to Cloudflare Stream and Images
  • Verify the pre-selected permissions include:

    • Stream video access
    • Read and write capabilities
    • Appropriate account resource scope

Token template selection


Step 4: Generate and verify token

  1. Click on “Continue to Summary”
  2. Click “Create Token”
  3. Important Verification Steps:

    • Confirm all required Stream permissions are enabled
    • Check account resource access
    • Validate scope of access

Token generation confirmation

  • Your token will be displayed on screen
  • Immediate actions:

    • Copy the entire token
    • Store in a secure password manager
    • Do NOT share publicly
    • Avoid screenshotting or sending via unsecured channels

Token generation confirmation


Step 5: Locate Account ID


From the Cloudflare dashboard:

  1. Click on Stream in the left navigation bar.
  2. Your Account ID will be displayed at the top right.

From the Cloudflare dashboard


From the browser URL

  1. Look at the URL in your browser's address bar
  2. Find the Account ID between the slashes. Example URL Format: https://dash.cloudflare.com/[ACCOUNT_ID]/
  3. Copy the Account ID.

Once you have the Access Token and Account ID from Cloudflare, you can use them in the FastPix Migration Tool to authenticate your Cloudflare account for the import process. Follow the next part of the migrate process below.


Import videos from Cloudflare to FastPix


  1. Access migration tool by cloning the GitHub repo and run it locally.
  2. Source platform selection: Choose Cloudflare as your source platform.

Choose Cloudflare as your source platform


  1. Source credentials validation

    • Enter your Cloudflare credentials from step 4 and 5 above.
    • Click "Verify Credentials".
    • Wait for validation confirmation.

Source credentials validation


  1. Video selection for import

    • On the "Select your videos" page
    • Choose "Transfer Everything" option to migrate all videos

Video selection for import


  1. Destination platform selection: Select FastPix as your destination platform

Destination platform selection


  1. Destination credentials validation

    • Enter your FastPix account credentials
    • Click "Verify Credentials"
    • Wait for validation confirmation

Destination credentials validation


  1. Import settings configuration
    Configure the following video encoding settings:
    • Encoding tier
    • Maximum resolution tier
    • Playback policy
    • Click "Confirm and Review" to proceed

Import settings configuration



  1. Review and start

    • Review all selected settings and configurations
    • Click "Start Job" to begin the migration process

  2. Migration tracking

    • Monitor the migration progress on the video tracking page
    • Wait for the list of migrated videos to appear on the tracking page.

Migration tracking