Like the initial setup, models can be generated either using the IDE integration or Amplify CLI directly.

### Code generation: Platform integration

import js11 from "/src/fragments/lib/datastore/js/getting-started/40_codegen.mdx";

<Fragments fragments={{js: js11}} />

import reactnative2 from "/src/fragments/lib/datastore/js/getting-started/40_codegen.mdx";

<Fragments fragments={{'react-native': reactnative2}} />

import ios12 from "/src/fragments/lib/datastore/ios/getting-started/40_codegen.mdx";

<Fragments fragments={{ios: ios12}} />

import android13 from "/src/fragments/lib/datastore/android/getting-started/40_codegen.mdx";

<Fragments fragments={{android: android13}} />