# Rent your first GPU

Source: https://bflops.com/docs/quickstart

From sign-in to a running Jupyter notebook on a GPU in about 10 minutes.



By the end of this page you will have a GPU machine running PyTorch and Jupyter, open in your browser. You need a wallet or an email address, a few dollars of USDT or BNB on BNB Smart Chain, and a terminal.

<Steps>
  <Step>
    ### Sign in [#sign-in]

    Select **Connect wallet** at the top right of any page (**Connect** on a phone). The window that opens offers a wallet, email, Google or GitHub.

    If you sign in without a wallet, bFLOPS makes one for you. Send USDT or BNB on BNB Smart Chain to its address before you top up: open the account menu and select **Copy address**. [More on signing in](/docs/account).
  </Step>

  <Step>
    ### Top up [#top-up]

    Open [Balance](/balance) and select **Top up**. Choose USDT or BNB, enter an amount and select **Pay**. Approve in your wallet.

    Your balance is credited once BNB Chain makes the payment final, usually within a minute. [More on top-ups](/docs/top-up).
  </Step>

  <Step>
    ### Make an SSH key [#make-an-ssh-key]

    Skip this if you already have one. Run this on your computer and press Enter at each question:

    ```bash title="On your computer"
    ssh-keygen -t ed25519
    ```

    Then print the public key and copy the whole line:

    ```bash title="On your computer"
    cat ~/.ssh/id_ed25519.pub
    ```

    [More on SSH keys](/docs/ssh-keys), including Windows.
  </Step>

  <Step>
    ### Start a machine [#start-a-machine]

    Open [Machines](/machines). The cheapest GPU is first. Select **Rent** on one, then:

    1. Keep the app on **PyTorch with Jupyter**.
    2. Paste your public key into **SSH public key**.
    3. Select **Start machine**.

    You go to the rental page. It shows **Starting** for a minute or a few. Nothing is billed until the machine is handed to you.
  </Step>

  <Step>
    ### Connect [#connect]

    When it shows **Running**, copy the SSH command from the rental page and run it in your terminal:

    ```bash title="On your computer"
    ssh -p 40022 root@203.0.113.7
    ```

    Your command has its own address and port. Type `yes` if it asks whether to trust the machine. Then check the GPU:

    ```bash title="On the machine"
    nvidia-smi
    ```
  </Step>

  <Step>
    ### Open Jupyter [#open-jupyter]

    The rental page also shows a tunnel command. Run it in a second terminal and leave it open:

    ```bash title="On your computer"
    ssh -N -L 8888:localhost:8888 -p 40022 root@203.0.113.7
    ```

    Open [http://localhost:8888](http://localhost:8888) in your browser. [More on apps](/docs/apps).
  </Step>

  <Step>
    ### Stop it [#stop-it]

    When you are done, select **Stop machine** on the rental page and confirm. Billing ends at once.

    <Callout kind="warning">
      Stopping deletes the machine's disk. Copy what you need first, or use
      [/data](/docs/storage).
    </Callout>
  </Step>
</Steps>

## Next [#next]

* [Copy files to and from the machine](/docs/connect#copy-files)
* [How billing works](/docs/billing)
* [Troubleshooting](/docs/troubleshooting) if anything above did not work
