Do I need separate licenses for each automation setup?

No, you can configure a license pool that automatically shares the licenses among your automation setups. When using a shared pool, your test scripts can be configured to wait for a license to become available before execution.

Read more here about License Pool