Deploy consul server and consul dataplane in AWS EKS Fargate?

I am trying to deploy Consul server in AWS EKS Fargate and add services to Consul server from EKS fargate . There , i would like to add services/pods running in AWS EKS Fargate to be registered in consul server.

I installed Consul Server in EKS Fargate with static PVC created in EFS. Consul server is working fine, able to access the UI also. Now challenge is, i would like to register pods as services to consul server using consul dataplane .