How to transplant a vine from a pot into the garden

I have just brought a grapevine. It has two small clusters of grapes on it and I have no idea how old it is but it is in a pot and I want to know the best way to transplant it from the pot into my garden.