# prefect-community

Jonathan Mathews

04/05/2022, 8:43 AM
Hello! I’m new to Prefect so please excuse the newbie question. If using Prefect Cloud, do I still need to deploy an agent somewhere? (let’s say I want to trigger a dbt run on dbt cloud). From what I can see from the docs, I always need an agent running to listen for the trigger. I was wondering I could perhaps setup an API endpoint to spin up say a docker container on demand, triggered by Prefect cloud. It looks like I still need an agent running to do that, unless I’m missing the point? Thanks

Anna Geller

04/05/2022, 9:46 AM
Yes, you do. Think of Prefect Cloud as your orchestration layer and your agent as the execution layer. Simply running the command
Copy code
prefect agent local start
will spin up a local agent to get you started. For more details, see this documentation page
We are working on Prefect 2.0 which is currently in beta - if you're just getting started, you may start directly with Prefect 2.0 and Cloud 2.0

Jonathan Mathews

04/05/2022, 9:58 AM
Ok thanks for confirming that Anna!
👍 1

Kevin Kho

04/05/2022, 2:05 PM
Just making sure you know we have a task for that
upvote 1