Ira contributions - can i first establish an ira and contribute to it before April 15, 2019 ( i don't have one yet) or does the ira have to be established before 12/31/18

i assume the only step I need to do is to make sure the custodian opens it as a 2018 contribution, correct?