IMO there's different types, to play the Barca style you need genuinely good players with very high teamwork/anticipation/passing/decisions, for any old team to do it, maybe you have to just select a huge pitch and select a formation which always leaves your defence somewhere to get the ball before they're closed down.
Modify the goalkeeper distribution to a deep defender, for the defence, hold up ball so they have longer to make a decision, the put the midfield on "rarely" run with ball and to roam a lot from their positions, and attack on "often" run from deep, so the key here is to always allow your players to move into the open spaces.
I also find it helps to train the players in the individual moves such as "switch possession to other flank" (most can learn this), "play short simple passes" and "look for pass instead of the shot", etc., to help recycle possession when you get too far up the pitch and have nowhere left to go but shoot/pass backwards.