flow setup