> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flatpeak.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Schedule energy with Flatpeak

After your customer [connected their energy tariff in your app](/guides/connect), you can use Flatpeak to schedule energy use or export at the most cost-efficient times.

When creating a schedule, Flatpeak can also factor in projected solar generation if the customer has a PV system.

To implement, choose one of the two main options:

* Submit your energy requirements — **Flatpeak creates the schedule** (recommended)
* **Retrieve energy price** and create a cost-optimised schedule yourself

<Tabs>
  <Tab title="Get Schedule">
    <Frame>
      <img src="https://mintcdn.com/flatpeak/TQaxvXRAD8Q-IDz9/images/anode/scheduling/scheduling-plan.png?fit=max&auto=format&n=TQaxvXRAD8Q-IDz9&q=85&s=e1a533e602c189401fd0736f9f369768" alt="Schedule" width="3540" height="1892" data-path="images/anode/scheduling/scheduling-plan.png" />
    </Frame>

    Follow the guide below that matches your use case:

    <CardGroup cols={1}>
      <Card title="Schedule by duration of time" icon="clock" horizontal href="/guides/schedule/duration">
        Find the lowest or highest price periods by specifying the required duration of time.
      </Card>

      <Card title="Schedule by setting price limit" icon="money-bill-trend-up" horizontal href="/guides/schedule/limit">
        Find the lowest or highest price periods by specifying an acceptable price range.
      </Card>

      <Card title="Schedule by amount of energy" icon="battery-half" horizontal href="/guides/schedule/amount">
        Create an import/export schedule based on energy amount, duration and/or transfer rate.
      </Card>
    </CardGroup>
  </Tab>

  <Tab title="Retrieve Price">
    <Frame>
      <img src="https://mintcdn.com/flatpeak/l_U6MaGrbiNAYpO6/images/anode/connect/retrieve-prices.png?fit=max&auto=format&n=l_U6MaGrbiNAYpO6&q=85&s=7ee6bd29356a091bb4d0be2d76a0a8a3" alt="Price" width="3540" height="1892" data-path="images/anode/connect/retrieve-prices.png" />
    </Frame>

    Follow the guide below:

    <Card title="Retrieve energy price" icon="coins" horizontal href="/guides/connect/retrieve-price">
      Ask Flatpeak for the energy price and create a full schedule yourself.
    </Card>
  </Tab>
</Tabs>
