how to use mongodb registry in source in terraform

we are trying to use mongodb registry as source in terraform main.tf, tried to use below thing but not working and also not able to find example

registry - GitHub - mongodb/terraform-provider-mongodbatlas: Terraform MongoDB Atlas Provider: Deploy, update, and manage MongoDB Atlas infrastructure as code through HashiCorp Terraform

main.tf

module “mongodb” {

source = “mongodb/mongodbatlas”
version = “1.16.0”

parameter

}

we configure provider as below

provider “mongodbatlas” {
source = “mongodb/mongodbatlas”
version = “>= 1.10.2”
public_key =
private_key =
}

when we don’t use source in main.tf, it says source is required.

can someone please look and suggest the possible solution?