Not sure I get the question. Are you asking how the bucket to hold the state files will be created initially?
In that case, you'll have to create the bucket ahead of time, similar to how you have to create an AWS account and set it up so that your GitOps workflows can access and deploy into it.