Gomez appeared in the short film El Tux (2008) as Claudia Gómez and as Nina in the Discovery Channel television film La estación de la Calle Olvera (2008). She became a member of a girl group named G.L.A.M. in 2009, and later joined B.C.G., another girl group. She filmed a music video as part of G.L.A.M. for a song titled "JellyBean" in 2009. During this time, Gomez also began recording herself singing and rapping songs using Garageband, and created a YouTube account to post covers of popular songs online. She also began writing her own songs, and by the age of thirteen had taught herself how to play guitar. Gomez befriended production duo The Jam when she was thirteen, who liked Gomez's written work. The trio began working on material together, resulting in the covers of the songs "Otis" (2011), "Lighters" (2011), "Novacane" (2011) "Take Care" (2011), "Boyfriend" (2011), and an original song "Turn the Music Up". These songs were meant to be part of a mixtape, titled @itsbeckygomez, though this project never came to fruition. Her cover of "Otis" caught the attention of renowned Producer Dr. Luke, who had worked with artists including Britney Spears and Miley Cyrus, among others. Luke scheduled a meeting with Gomez, and asked her to play guitar for him; he later signed her to his Kemosabe Records record label, through RCA Records. In reference to her video clip for "Otis", Luke claimed "I would have signed her off that video alone. I was 100 percent in. She has so much personality and her voice just pops out of the speakers. Then I met her and discovered she could also sing and play the guitar and I thought, 'This is even better.' Then I found out she could write and it was like, 'What else are you going to tell me, that you’re also Van Gogh?' Her potential is limitless." Shortly after signing with the label, Gomez began work on her debut album.