# Initialize

After installing the library, include the library at the top of your code:

**Python:**

```py
from zaber_motion.binary import Connection

# The rest of your program goes here
```

**C#:**

```cs
using Zaber.Motion;
using Zaber.Motion.Binary;

// namespace name may differ in your code
namespace example
{
    class Program
    {
        static void Main(string[] args)
        {
            // The rest of your program goes here
        }
    }
}
```

**JavaScript:**

```js
const { binary: { Connection } } = require('@zaber/motion');

async function main() {
  // The rest of your program goes here
}

main();
```

**Java:**

```java
// package name may differ in your code
package example;

import zaber.motion.binary.Connection;
import zaber.motion.binary.Device;

public class App
{
    public static void main(String[] args)
    {
        // The rest of your program goes here
    }
}
```

**MATLAB (legacy):**

```matlabjava
import zaber.motion.binary.Connection;

% The rest of your program goes here
```

**MATLAB:**

```matlab
import zaber.motion.binary.Connection;

% The rest of your program goes here
```

**Octave:**

```octave
javaaddpath("motion-library-jar-with-dependencies.jar");

CONNECTION_CLASS = "zaber.motion.binary.Connection";

% The rest of your program goes here
```

**C++:**

```cpp
#include <zaber/motion/binary.h>

using namespace zaber::motion;
using namespace zaber::motion::binary;

int main() {
    /* The rest of your program goes here */

    return 0;
}
```

> **Octave:**
>
> Ensure that the file `motion-library-jar-with-dependencies.jar` is in the current directory. You can alternatively provide an absolute path.

Continue the Getting Started guide by [opening a serial port](https://software.zaber.com/motion-library/docs/binary/tutorials/open_port.md).
