"This Is What You Came For" is a song by Scottish DJ and record producer Calvin Harris, featuring Barbadian singer Rihanna. The song was released on 29 April 2016 through Sony Music and Westbury Road. Featuring influences of house music, Harris co-wrote the song with Taylor Swift, who was initially credited with the pseudonym Nils Sjöberg, and solely produced it. Rihanna and Harris had previously collaborated on her sixth studio album, Talk That Talk, which included the international chart-topper "We Found Love" and US top five hit "Where Have You Been", the former of which was written and produced by Harris. He played the final version for Rihanna at the 2016 Coachella Music Festival.