# MongoDB Atlas

**URL:** <https://discourse.julialang.org/t/mongodb-atlas/44250>\
**Category:** New to Julia\
**Created:** [August 4, 2020, 11:48am UTC](https://discourse.julialang.org/t/mongodb-atlas/44250 "2020-08-04T11:48:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![patber](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/patber/32/16859_2.png) [@patber](https://discourse.julialang.org/u/patber)\
**Post date:** [August 4, 2020, 11:48am UTC](https://discourse.julialang.org/t/mongodb-atlas/44250/1 "2020-08-04T11:48:04Z")

</div>

I’m trying out julia and need to connect to a mongoDB Atlas instance to continue, any pointers on how to do that in julia, thx!

---

<div class="post-metadata">

**Author:** ![Mitch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mitch/32/24224_2.png) [@Mitch](https://discourse.julialang.org/u/Mitch)\
**Post date:** [July 19, 2022, 2:59pm UTC](https://discourse.julialang.org/t/mongodb-atlas/44250/2 "2022-07-19T14:59:00Z")

</div>

@patber did you ever figure that out? Would love to see your solution if you found one!

---

<div class="post-metadata">

**Author:** ![edyu](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/edyu/32/49505_2.png) [@edyu](https://discourse.julialang.org/u/edyu)\
**Post date:** [May 4, 2023, 8:14pm UTC](https://discourse.julialang.org/t/mongodb-atlas/44250/3 "2023-05-04T20:14:40Z")

</div>

Use the Mongoc package:

```
import Mongoc
client = Mongoc.Client("mongodb+srv://<user>:<pass>@cluster0.bpkvi0i.mongodb.net/<db>") # change to your username, password, database respectively
Monogc.ping(client) # if you get TLS problem, set SSL_CERT_FILE to /etc/ssl/certs/ca-certificates.crt or wherever your cert/pem is
```
