Terraform import with jenkins

How to configure terraform import command with Jenkins pipeline. First of all, i have to import two resources one by one, once already existing resources are imported then i run terraform plan and apply to created all resources and linked already created resources with these newly created resources. How can i achieve this with Jenkins pipeline?