Short answer: you can't get it for free legally.
Star Wars Battlefront is a commercial title, so the proper way to play it is to purchase a copy from a retailer that sells video games, whether that's a physical store or an authorized digital storefront. Enjoy the galaxy far, far away the right way.