How to use codex

How do I get access to codex?

These are some good docs and a good place to start: OpenAI API